Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.168/1.168, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.081/2.081, allocations: 390.2 MB / 0.6647 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.89 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5037, allocations: 140.4 MB / 0.9497 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004274/0.508, allocations: 4.265 MB / 0.9539 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1326/0.6406, allocations: 150.6 MB / 1.101 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007463/0.6414, allocations: 15.94 kB / 1.101 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006169/0.642, allocations: 170.4 kB / 1.101 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.6437, allocations: 0.4964 MB / 1.102 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.6455, allocations: 0.8142 MB / 1.102 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001239/0.6468, allocations: 1.285 MB / 1.104 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000766/0.6476, allocations: 0.6023 MB / 1.104 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005589/0.6481, allocations: 466.3 kB / 1.105 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005012/0.6486, allocations: 491.2 kB / 1.105 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.6488, allocations: 112 kB / 1.105 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007274/0.6495, allocations: 451.6 kB / 1.106 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.6498, allocations: 299.1 kB / 1.106 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004735/0.6502, allocations: 0.5323 MB / 1.106 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.6517, allocations: 1.542 MB / 1.108 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.6517, allocations: 0 / 1.108 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6517, allocations: 0 / 1.108 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.224e-05/0.6518, allocations: 0 / 1.108 GB, free: 15.25 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002238/0.654, allocations: 1.403 MB / 1.109 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.654, allocations: 8.031 kB / 1.109 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/0.6542, allocations: 131.3 kB / 1.109 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008349/0.655, allocations: 191.4 kB / 1.11 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000835/0.6559, allocations: 0.7303 MB / 1.11 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/0.6559, allocations: 65.98 kB / 1.11 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.772e-05/0.656, allocations: 76 kB / 1.111 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.6573, allocations: 0.9067 MB / 1.111 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.6573, allocations: 4 kB / 1.111 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.168e-05/0.6574, allocations: 32 kB / 1.111 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.6574, allocations: 20 kB / 1.111 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.659, allocations: 1.1 MB / 1.113 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003244/0.6623, allocations: 2.465 MB / 1.115 GB, free: 7.918 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.6636, allocations: 0.8678 MB / 1.116 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004754/0.6641, allocations: 298.6 kB / 1.116 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.368e-05/0.6642, allocations: 24.56 kB / 1.116 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007665/0.665, allocations: 498.4 kB / 1.117 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 2.023e-06/0.665, allocations: 0 / 1.117 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.002727/0.6677, allocations: 1.178 MB / 1.118 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/0.6678, allocations: 188.6 kB / 1.118 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006304/0.6684, allocations: 0.6253 MB / 1.119 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.6685, allocations: 37.7 kB / 1.119 GB, free: 4.094 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/0.6687, allocations: 392.3 kB / 1.119 GB, free: 3.703 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.6689, allocations: 260.3 kB / 1.119 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.6691, allocations: 146.5 kB / 1.119 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.6692, allocations: 386.7 kB / 1.12 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/0.6697, allocations: 245.9 kB / 1.12 GB, free: 2.668 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005368/0.6702, allocations: 350.5 kB / 1.12 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009409/0.6712, allocations: 0.5683 MB / 1.121 GB, free: 1.715 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.6712, allocations: 0 / 1.121 GB, free: 1.715 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001648/0.6728, allocations: 0.7902 MB / 1.122 GB, free: 0.918 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.6729, allocations: 4 kB / 1.122 GB, free: 0.9141 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.6729, allocations: 8.094 kB / 1.122 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005439/0.6734, allocations: 72.78 kB / 1.122 GB, free: 0.832 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/0.674, allocations: 151.8 kB / 1.122 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.6758, allocations: 1.634 MB / 1.123 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/0.6764, allocations: 83.33 kB / 1.123 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/0.6764, allocations: 27.98 kB / 1.123 GB, free: 14.79 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: 15 (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 (85): * Single equations (assignments): 84 * 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.000302/0.6767, allocations: 269.6 kB / 1.124 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.6769, allocations: 79.06 kB / 1.124 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.679, allocations: 1.058 MB / 1.125 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.485e-06/0.679, allocations: 8 kB / 1.125 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.679, allocations: 3.984 kB / 1.125 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.679, allocations: 7.922 kB / 1.125 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/0.6817, allocations: 1.907 MB / 1.127 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6818, allocations: 0 / 1.127 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005213/0.6823, allocations: 143.8 kB / 1.127 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004071/0.6827, allocations: 68.8 kB / 1.127 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/0.6828, allocations: 27.97 kB / 1.127 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/0.6844, allocations: 1.662 MB / 1.129 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.6844, allocations: 4.062 kB / 1.129 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.6861, allocations: 0.9805 MB / 1.13 GB, free: 8.328 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000286/0.6864, allocations: 275.7 kB / 1.13 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.6866, allocations: 23.94 kB / 1.13 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006053/0.6872, allocations: 63.92 kB / 1.13 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.6873, allocations: 68.91 kB / 1.13 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-05/0.6874, allocations: 27.98 kB / 1.13 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00046/0.6878, allocations: 455 kB / 1.13 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6878, allocations: 4 kB / 1.13 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006973/0.6885, allocations: 307.2 kB / 1.131 GB, free: 7.109 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: 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.00307/0.6916, allocations: 2.033 MB / 1.133 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001975/0.6936, allocations: 0.9875 MB / 1.134 GB, free: 4.23 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6936, allocations: 0 / 1.134 GB, free: 4.23 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000822/0.6945, allocations: 0.5081 MB / 1.134 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.6956, allocations: 290.8 kB / 1.134 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0097/0.7053, allocations: 6.442 MB / 1.141 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.7058, allocations: 1.015 MB / 1.142 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007271/0.7065, allocations: 266.5 kB / 1.142 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004536/0.707, allocations: 375.3 kB / 1.142 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of SimCode: time 2.154e-06/0.707, allocations: 0 / 1.142 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04221/0.7492, allocations: 20.68 MB / 1.163 GB, free: 6.902 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.9, allocations: 12.3 kB / 1.163 GB, free: 6.891 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches