Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002105/0.002105, allocations: 192.6 kB / 16.25 MB, free: 6.625 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.389/1.389, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.387/2.387, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002259, allocations: 63.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7373/0.7396, allocations: 140.4 MB / 0.9491 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004975/0.7446, allocations: 4.421 MB / 0.9534 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1731/0.9178, allocations: 148.4 MB / 1.098 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.9193, allocations: 19.88 kB / 1.098 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009156/0.9202, allocations: 138.9 kB / 1.098 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002312/0.9226, allocations: 463.9 kB / 1.099 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.9251, allocations: 0.7519 MB / 1.1 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001893/0.927, allocations: 1.347 MB / 1.101 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.9281, allocations: 0.6235 MB / 1.102 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.9291, allocations: 494.3 kB / 1.102 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009457/0.9301, allocations: 0.5133 MB / 1.103 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003305/0.9304, allocations: 120 kB / 1.103 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.9317, allocations: 463.6 kB / 1.103 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000372/0.9321, allocations: 303 kB / 1.103 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007426/0.9328, allocations: 0.5557 MB / 1.104 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.9352, allocations: 1.593 MB / 1.105 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.9353, allocations: 4 kB / 1.105 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.063e-06/0.9353, allocations: 0 / 1.105 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.876e-05/0.9353, allocations: 0 / 1.105 GB, free: 1.445 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003395/0.9387, allocations: 1.448 MB / 1.107 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.9388, allocations: 8.031 kB / 1.107 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.9398, allocations: 199.2 kB / 1.107 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.941, allocations: 0.743 MB / 1.108 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.9411, allocations: 66 kB / 1.108 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.9412, allocations: 87.98 kB / 1.108 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.943, allocations: 0.9417 MB / 1.109 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.943, allocations: 0 / 1.109 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.153e-05/0.9431, allocations: 36 kB / 1.109 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.9432, allocations: 20 kB / 1.109 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.945, allocations: 1.132 MB / 1.11 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004177/0.9492, allocations: 2.539 MB / 1.113 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.9509, allocations: 0.9003 MB / 1.113 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005852/0.9515, allocations: 314.8 kB / 1.114 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.693e-05/0.9516, allocations: 32.61 kB / 1.114 GB, free: 8.754 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.9526, allocations: 0.5159 MB / 1.114 GB, free: 8.223 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 2.435e-06/0.9527, allocations: 0 / 1.114 GB, free: 8.223 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.003468/0.9561, allocations: 1.243 MB / 1.115 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.9563, allocations: 200.9 kB / 1.116 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009831/0.9573, allocations: 0.6448 MB / 1.116 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.002e-05/0.9574, allocations: 41.7 kB / 1.116 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/0.9577, allocations: 404.4 kB / 1.117 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.958, allocations: 268.2 kB / 1.117 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/0.9582, allocations: 170.4 kB / 1.117 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.9584, allocations: 394.7 kB / 1.117 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000569/0.959, allocations: 269.9 kB / 1.118 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000673/0.9597, allocations: 379.1 kB / 1.118 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.9609, allocations: 0.6242 MB / 1.119 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.9609, allocations: 0 / 1.119 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002116/0.963, allocations: 0.8761 MB / 1.12 GB, free: 2.609 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.9631, allocations: 4 kB / 1.12 GB, free: 2.605 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.9631, allocations: 3.938 kB / 1.12 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006456/0.9637, allocations: 80.88 kB / 1.12 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00071/0.9644, allocations: 163.8 kB / 1.12 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.9666, allocations: 1.642 MB / 1.121 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008165/0.9675, allocations: 100.3 kB / 1.122 GB, free: 484 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.043e-05/0.9676, allocations: 31.98 kB / 1.122 GB, free: 452 kB / 0.8731 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,decAng.tNext,$PRE.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 (99): * Single equations (assignments): 98 * 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.0004811/0.9681, allocations: 275.7 kB / 1.122 GB, free: 164 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.9683, allocations: 90.97 kB / 1.122 GB, free: 72 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002817/0.9711, allocations: 1.14 MB / 1.123 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.9711, allocations: 15.94 kB / 1.123 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.9711, allocations: 0 / 1.123 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.9712, allocations: 3.984 kB / 1.123 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003714/0.9749, allocations: 2.013 MB / 1.125 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.9749, allocations: 0 / 1.125 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000631/0.9755, allocations: 151.7 kB / 1.125 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004861/0.976, allocations: 76.78 kB / 1.125 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-05/0.9761, allocations: 27.98 kB / 1.125 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/0.9781, allocations: 1.662 MB / 1.127 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.9782, allocations: 0 / 1.127 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/0.9805, allocations: 1.051 MB / 1.128 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005241/0.981, allocations: 287.6 kB / 1.128 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/0.9812, allocations: 16 kB / 1.128 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007603/0.982, allocations: 63.92 kB / 1.128 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.9822, allocations: 76.89 kB / 1.128 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.369e-05/0.9823, allocations: 39.97 kB / 1.128 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006284/0.9829, allocations: 471 kB / 1.129 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9829, allocations: 3.938 kB / 1.129 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009562/0.9839, allocations: 311.3 kB / 1.129 GB, free: 8.434 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,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * 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.001595/0.9855, allocations: 0.6081 MB / 1.13 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002645/0.9881, allocations: 1.089 MB / 1.131 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.9882, allocations: 0 / 1.131 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.9892, allocations: 0.5394 MB / 1.131 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.9906, allocations: 292.5 kB / 1.132 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004426/0.995, allocations: 2.236 MB / 1.134 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006721/0.9957, allocations: 1.036 MB / 1.135 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009247/0.9966, allocations: 278.7 kB / 1.135 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/0.9969, allocations: 107.4 kB / 1.135 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of SimCode: time 5.11e-07/0.9969, allocations: 0 / 1.135 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of Templates: time 0.02811/1.025, allocations: 15.12 MB / 1.15 GB, free: 3.414 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches