Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.001307/0.001307, 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.001339/0.001339, allocations: 193.9 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.211/1.211, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.024/2.024, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.91 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4736/0.4748, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004354/0.4792, allocations: 4.304 MB / 0.9539 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1301/0.6093, allocations: 150.6 MB / 1.101 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007006/0.61, allocations: 15.88 kB / 1.101 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.6106, allocations: 174.4 kB / 1.101 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.6122, allocations: 0.5011 MB / 1.102 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.6139, allocations: 0.8306 MB / 1.102 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.615, allocations: 1.293 MB / 1.104 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007633/0.6158, allocations: 0.6295 MB / 1.104 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005219/0.6163, allocations: 474.3 kB / 1.105 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005251/0.6169, allocations: 489.9 kB / 1.105 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.6171, allocations: 116 kB / 1.105 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007348/0.6178, allocations: 467.5 kB / 1.106 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.6181, allocations: 299.1 kB / 1.106 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004101/0.6185, allocations: 0.5401 MB / 1.107 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.6199, allocations: 1.577 MB / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6199, allocations: 4 kB / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6199, allocations: 0 / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.388e-05/0.6199, allocations: 0 / 1.108 GB, free: 14.98 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002257/0.6222, allocations: 1.412 MB / 1.11 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.6222, allocations: 12.03 kB / 1.11 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/0.6224, allocations: 135.4 kB / 1.11 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000858/0.6232, allocations: 187.4 kB / 1.11 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008668/0.6241, allocations: 0.7381 MB / 1.111 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.62e-05/0.6242, allocations: 62 kB / 1.111 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.18e-05/0.6243, allocations: 83.98 kB / 1.111 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.6256, allocations: 0.9184 MB / 1.112 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.6256, allocations: 0 / 1.112 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.429e-05/0.6257, allocations: 32 kB / 1.112 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.6257, allocations: 20 kB / 1.112 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.6273, allocations: 1.116 MB / 1.113 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003274/0.6306, allocations: 2.523 MB / 1.115 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.6319, allocations: 0.887 MB / 1.116 GB, free: 6.625 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004806/0.6324, allocations: 310.7 kB / 1.116 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.135e-05/0.6325, allocations: 24.62 kB / 1.116 GB, free: 6.293 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000757/0.6333, allocations: 499.1 kB / 1.117 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 1.803e-06/0.6333, allocations: 0 / 1.117 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.00277/0.636, allocations: 1.194 MB / 1.118 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/0.6361, allocations: 192.6 kB / 1.118 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006221/0.6368, allocations: 0.6293 MB / 1.119 GB, free: 3.699 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/0.6368, allocations: 37.7 kB / 1.119 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.6371, allocations: 400.3 kB / 1.119 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.6372, allocations: 248.4 kB / 1.119 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.6374, allocations: 142.5 kB / 1.12 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.6376, allocations: 386.7 kB / 1.12 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/0.638, allocations: 249.9 kB / 1.12 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005291/0.6385, allocations: 358.6 kB / 1.121 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009468/0.6395, allocations: 0.5838 MB / 1.121 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6395, allocations: 0 / 1.121 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001647/0.6412, allocations: 0.798 MB / 1.122 GB, free: 464 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.6412, allocations: 4 kB / 1.122 GB, free: 460 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.6412, allocations: 4 kB / 1.122 GB, free: 456 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005489/0.6417, allocations: 88.8 kB / 1.122 GB, free: 364 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/0.6423, allocations: 151.8 kB / 1.122 GB, free: 212 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.6441, allocations: 1.647 MB / 1.124 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005577/0.6447, allocations: 87.39 kB / 1.124 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-05/0.6447, allocations: 31.97 kB / 1.124 GB, free: 14.29 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.000301/0.645, allocations: 269.6 kB / 1.124 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.6452, allocations: 75.06 kB / 1.124 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.6473, allocations: 1.065 MB / 1.125 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.6473, allocations: 15.94 kB / 1.125 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.6473, allocations: 48 / 1.125 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.6474, allocations: 11.91 kB / 1.125 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002716/0.6501, allocations: 1.957 MB / 1.127 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6501, allocations: 0 / 1.127 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005222/0.6506, allocations: 139.8 kB / 1.127 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004065/0.651, allocations: 80.78 kB / 1.127 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.74e-05/0.6511, allocations: 23.98 kB / 1.127 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.6527, allocations: 1.67 MB / 1.129 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6527, allocations: 0 / 1.129 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.6545, allocations: 0.9921 MB / 1.13 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.6548, allocations: 275.7 kB / 1.13 GB, free: 7.465 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.6549, allocations: 20 kB / 1.13 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006017/0.6555, allocations: 63.92 kB / 1.13 GB, free: 7.383 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.6556, allocations: 72.91 kB / 1.13 GB, free: 7.312 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.773e-05/0.6557, allocations: 31.97 kB / 1.13 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004561/0.6561, allocations: 463 kB / 1.131 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6562, allocations: 3.938 kB / 1.131 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006407/0.6568, allocations: 303.2 kB / 1.131 GB, free: 6.531 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.002993/0.6598, allocations: 2.036 MB / 1.133 GB, free: 4.645 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002007/0.6618, allocations: 0.9954 MB / 1.134 GB, free: 3.637 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6618, allocations: 3.938 kB / 1.134 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008094/0.6626, allocations: 0.5157 MB / 1.135 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.6637, allocations: 304.7 kB / 1.135 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009114/0.6728, allocations: 6.507 MB / 1.141 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.6733, allocations: 1.015 MB / 1.142 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006635/0.674, allocations: 258.5 kB / 1.143 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/0.6744, allocations: 375.3 kB / 1.143 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.6744, allocations: 0 / 1.143 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04165/0.7161, allocations: 20.9 MB / 1.163 GB, free: 5.957 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.924/10.64, allocations: 6.344 kB / 1.163 GB, free: 5.953 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches