Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 104.8 kB / 15.99 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 190.2 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.435/2.435, allocations: 390.2 MB / 0.665 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 59.89 kB / 0.8127 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6876/0.6891, allocations: 140.4 MB / 0.9498 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005461/0.6946, allocations: 4.63 MB / 0.9543 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1676/0.8623, allocations: 148.5 MB / 1.099 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.8635, allocations: 19.88 kB / 1.099 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008904/0.8644, allocations: 138.9 kB / 1.099 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002419/0.8669, allocations: 493.2 kB / 1.1 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.8695, allocations: 0.7797 MB / 1.101 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002015/0.8715, allocations: 1.445 MB / 1.102 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.8728, allocations: 0.7105 MB / 1.103 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.8738, allocations: 0.5449 MB / 1.103 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009543/0.8748, allocations: 0.5679 MB / 1.104 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003868/0.8751, allocations: 140 kB / 1.104 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.8764, allocations: 0.4918 MB / 1.104 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000443/0.8768, allocations: 334.9 kB / 1.105 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008936/0.8777, allocations: 0.6373 MB / 1.105 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.8796, allocations: 1.36 MB / 1.107 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8796, allocations: 4 kB / 1.107 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8796, allocations: 0 / 1.107 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.152e-05/0.8796, allocations: 0 / 1.107 GB, free: 0.6953 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.003792/0.8834, allocations: 1.554 MB / 1.108 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.8835, allocations: 12.02 kB / 1.108 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.8846, allocations: 199.2 kB / 1.108 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.8859, allocations: 0.8012 MB / 1.109 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.107e-05/0.886, allocations: 78 kB / 1.109 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.8862, allocations: 96 kB / 1.109 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.8882, allocations: 1.067 MB / 1.11 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.8883, allocations: 0 / 1.11 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.8884, allocations: 40 kB / 1.11 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.8884, allocations: 27.94 kB / 1.111 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.8905, allocations: 1.229 MB / 1.112 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004812/0.8953, allocations: 2.913 MB / 1.115 GB, free: 8.441 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.8969, allocations: 0.8821 MB / 1.115 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005844/0.8975, allocations: 351.7 kB / 1.116 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-05/0.8976, allocations: 40.88 kB / 1.116 GB, free: 7.168 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.8987, allocations: 0.5472 MB / 1.116 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=92): time 3.056e-06/0.8987, allocations: 0 / 1.116 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92): time 0.00339/0.9021, allocations: 1.333 MB / 1.118 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.9022, allocations: 196.9 kB / 1.118 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009327/0.9031, allocations: 0.6841 MB / 1.118 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.268e-05/0.9032, allocations: 49.7 kB / 1.119 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/0.9036, allocations: 436.4 kB / 1.119 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.9039, allocations: 299.7 kB / 1.119 GB, free: 3.539 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003124/0.9042, allocations: 186.4 kB / 1.119 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.9044, allocations: 394.7 kB / 1.12 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005963/0.905, allocations: 297.8 kB / 1.12 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006834/0.9057, allocations: 411.1 kB / 1.12 GB, free: 2.25 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.9069, allocations: 0.6826 MB / 1.121 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.9069, allocations: 4 kB / 1.121 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002408/0.9093, allocations: 0.9541 MB / 1.122 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.9094, allocations: 4 kB / 1.122 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.9094, allocations: 0 / 1.122 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006619/0.9101, allocations: 88.83 kB / 1.122 GB, free: 0.4922 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008022/0.9109, allocations: 187.8 kB / 1.122 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/0.9135, allocations: 1.63 MB / 1.124 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009556/0.9145, allocations: 107.2 kB / 1.124 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.9146, allocations: 44.03 kB / 1.124 GB, free: 14.38 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006549/0.9153, allocations: 279.9 kB / 1.124 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002844/0.9156, allocations: 94.86 kB / 1.124 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/0.9184, allocations: 1.23 MB / 1.126 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.9185, allocations: 11.94 kB / 1.126 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.9185, allocations: 0 / 1.126 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.9185, allocations: 7.984 kB / 1.126 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.9198, allocations: 1.005 MB / 1.127 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.9198, allocations: 0 / 1.127 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006759/0.9205, allocations: 175.7 kB / 1.127 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004667/0.921, allocations: 72.78 kB / 1.127 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-05/0.9211, allocations: 27.98 kB / 1.127 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.923, allocations: 1.662 MB / 1.129 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.923, allocations: 0 / 1.129 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.9253, allocations: 1.045 MB / 1.13 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000506/0.9258, allocations: 299.5 kB / 1.13 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.926, allocations: 20 kB / 1.13 GB, free: 8.199 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007271/0.9267, allocations: 71.98 kB / 1.13 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.9269, allocations: 76.89 kB / 1.13 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.633e-05/0.927, allocations: 43.97 kB / 1.13 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000683/0.9277, allocations: 0.4951 MB / 1.131 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9277, allocations: 0 / 1.131 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001087/0.9288, allocations: 359.1 kB / 1.131 GB, free: 7.168 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00168/0.9305, allocations: 0.627 MB / 1.131 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002851/0.9334, allocations: 1.163 MB / 1.133 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.9334, allocations: 0 / 1.133 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.9345, allocations: 0.5705 MB / 1.133 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.9359, allocations: 300 kB / 1.133 GB, free: 4.691 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004982/0.9409, allocations: 2.504 MB / 1.136 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007834/0.9417, allocations: 1.071 MB / 1.137 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004112/0.9422, allocations: 131.4 kB / 1.137 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of SimCode: time 7.12e-07/0.9422, allocations: 7.938 kB / 1.137 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of Templates: time 0.03135/0.9735, allocations: 20.6 MB / 1.157 GB, free: 12.37 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches