Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 115.3 kB / 15.34 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.001761/0.001762, allocations: 191.1 kB / 16.25 MB, free: 6.586 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.349/1.349, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.662/2.662, allocations: 437 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 59.91 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.638/0.6395, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006078/0.6456, allocations: 4.834 MB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1628/0.8085, allocations: 148.4 MB / 1.166 GB, free: 8.961 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.8097, allocations: 19.88 kB / 1.166 GB, free: 8.941 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009306/0.8107, allocations: 154.8 kB / 1.167 GB, free: 8.789 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.813, allocations: 485.5 kB / 1.167 GB, free: 8.316 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.8154, allocations: 0.7472 MB / 1.168 GB, free: 7.574 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002024/0.8174, allocations: 1.378 MB / 1.169 GB, free: 6.191 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.8185, allocations: 0.5908 MB / 1.17 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000972/0.8195, allocations: 490.3 kB / 1.17 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008729/0.8204, allocations: 0.5031 MB / 1.171 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000319/0.8207, allocations: 116 kB / 1.171 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.8219, allocations: 463.6 kB / 1.171 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003874/0.8223, allocations: 291.1 kB / 1.171 GB, free: 3.746 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007526/0.8231, allocations: 0.5636 MB / 1.172 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00242/0.8255, allocations: 1.608 MB / 1.174 GB, free: 1.566 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.8256, allocations: 3.938 kB / 1.174 GB, free: 1.562 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8256, allocations: 0 / 1.174 GB, free: 1.562 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.902e-05/0.8256, allocations: 0 / 1.174 GB, free: 1.562 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003388/0.829, allocations: 1.418 MB / 1.175 GB, free: 84 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.8291, allocations: 8.031 kB / 1.175 GB, free: 76 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.8302, allocations: 187.5 kB / 1.175 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.8316, allocations: 0.7305 MB / 1.176 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.735e-05/0.8316, allocations: 65.94 kB / 1.176 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.8318, allocations: 80 kB / 1.176 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.8335, allocations: 0.9184 MB / 1.177 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.8336, allocations: 0 / 1.177 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.842e-05/0.8337, allocations: 35.98 kB / 1.177 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.8337, allocations: 24 kB / 1.177 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.8355, allocations: 1.108 MB / 1.178 GB, free: 12.85 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004485/0.84, allocations: 2.732 MB / 1.181 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.8416, allocations: 0.8962 MB / 1.182 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000525/0.8421, allocations: 310.7 kB / 1.182 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.228e-05/0.8422, allocations: 24.61 kB / 1.182 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009377/0.8432, allocations: 0.4913 MB / 1.182 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=79): time 3.076e-06/0.8432, allocations: 0 / 1.182 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=79): time 0.003263/0.8464, allocations: 1.19 MB / 1.184 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.8466, allocations: 192.6 kB / 1.184 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009876/0.8476, allocations: 0.6253 MB / 1.184 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.427e-05/0.8477, allocations: 45.7 kB / 1.184 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000408/0.8481, allocations: 388.4 kB / 1.185 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/0.8484, allocations: 256.3 kB / 1.185 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/0.8487, allocations: 162.5 kB / 1.185 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.8489, allocations: 386.7 kB / 1.186 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005652/0.8494, allocations: 269.8 kB / 1.186 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006592/0.8501, allocations: 363.1 kB / 1.186 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.8512, allocations: 0.6073 MB / 1.187 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.8513, allocations: 0 / 1.187 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002178/0.8535, allocations: 0.8448 MB / 1.188 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.8535, allocations: 8 kB / 1.188 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.8535, allocations: 0 / 1.188 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006291/0.8542, allocations: 88.8 kB / 1.188 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006633/0.8548, allocations: 155.8 kB / 1.188 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.8571, allocations: 1.662 MB / 1.189 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000796/0.8579, allocations: 94.11 kB / 1.189 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.542e-05/0.858, allocations: 35.97 kB / 1.19 GB, free: 0.6289 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0005502/0.8586, allocations: 268.1 kB / 1.19 GB, free: 368 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.8589, allocations: 79.06 kB / 1.19 GB, free: 288 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.8614, allocations: 1.061 MB / 1.191 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.8615, allocations: 12 kB / 1.191 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.8615, allocations: 3.938 kB / 1.191 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.8615, allocations: 7.922 kB / 1.191 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00356/0.8651, allocations: 1.962 MB / 1.193 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.8651, allocations: 4 kB / 1.193 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005808/0.8657, allocations: 139.8 kB / 1.193 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004713/0.8661, allocations: 72.8 kB / 1.193 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-05/0.8662, allocations: 27.97 kB / 1.193 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.8683, allocations: 1.67 MB / 1.195 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.8684, allocations: 8.016 kB / 1.195 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.8707, allocations: 0.9805 MB / 1.196 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000522/0.8712, allocations: 279.7 kB / 1.196 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/0.8714, allocations: 24 kB / 1.196 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007536/0.8722, allocations: 63.88 kB / 1.196 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.8724, allocations: 72.89 kB / 1.196 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.41e-05/0.8725, allocations: 31.98 kB / 1.196 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006283/0.8731, allocations: 455 kB / 1.197 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8731, allocations: 0 / 1.197 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00102/0.8741, allocations: 323.2 kB / 1.197 GB, free: 8.848 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001588/0.8757, allocations: 0.6066 MB / 1.197 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002591/0.8783, allocations: 1.026 MB / 1.198 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.8784, allocations: 4.188 kB / 1.198 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009883/0.8794, allocations: 0.5158 MB / 1.199 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.8808, allocations: 306.7 kB / 1.199 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/0.8843, allocations: 2.044 MB / 1.201 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/0.885, allocations: 1.015 MB / 1.202 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009282/0.8859, allocations: 262.6 kB / 1.202 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.8862, allocations: 111.3 kB / 1.203 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of SimCode: time 1.323e-06/0.8862, allocations: 0 / 1.203 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of Templates: time 0.02568/0.9119, allocations: 15.05 MB / 1.217 GB, free: 4.211 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches