Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.00123/0.00123, 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.0012/0.0012, allocations: 193.7 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.181/1.181, 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.069/2.069, allocations: 390.3 MB / 0.6647 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 67.91 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4983/0.4995, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005994/0.5056, allocations: 4.465 MB / 0.9541 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1349/0.6405, allocations: 150.7 MB / 1.101 GB, free: 6 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007925/0.6414, allocations: 15.94 kB / 1.101 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005586/0.6419, allocations: 178.3 kB / 1.101 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001745/0.6437, allocations: 0.5424 MB / 1.102 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.6455, allocations: 0.8304 MB / 1.103 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001265/0.6468, allocations: 1.363 MB / 1.104 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007812/0.6476, allocations: 0.6258 MB / 1.105 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006081/0.6482, allocations: 0.4982 MB / 1.105 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005799/0.6488, allocations: 0.5262 MB / 1.106 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001944/0.649, allocations: 120 kB / 1.106 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007565/0.6497, allocations: 455.7 kB / 1.106 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.65, allocations: 318.9 kB / 1.107 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004258/0.6505, allocations: 0.5713 MB / 1.107 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.6519, allocations: 1.612 MB / 1.109 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6519, allocations: 0 / 1.109 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.503e-06/0.652, allocations: 0 / 1.109 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.652, allocations: 0 / 1.109 GB, free: 14.33 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002342/0.6543, allocations: 1.472 MB / 1.11 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.6544, allocations: 8.031 kB / 1.11 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.6545, allocations: 147.7 kB / 1.11 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000818/0.6553, allocations: 183.3 kB / 1.111 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008576/0.6562, allocations: 0.7661 MB / 1.111 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.051e-05/0.6563, allocations: 73.97 kB / 1.111 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.59e-05/0.6564, allocations: 91.94 kB / 1.111 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.6577, allocations: 0.9613 MB / 1.112 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.6577, allocations: 0 / 1.112 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.921e-05/0.6578, allocations: 39.98 kB / 1.112 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.6578, allocations: 24 kB / 1.112 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.6594, allocations: 1.155 MB / 1.114 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003406/0.6628, allocations: 2.675 MB / 1.116 GB, free: 6.527 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.6642, allocations: 0.8394 MB / 1.117 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005066/0.6648, allocations: 322.7 kB / 1.117 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.735e-05/0.6648, allocations: 32.67 kB / 1.117 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008103/0.6656, allocations: 0.5354 MB / 1.118 GB, free: 4.773 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 2.184e-06/0.6657, allocations: 0 / 1.118 GB, free: 4.773 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.002866/0.6685, allocations: 1.286 MB / 1.119 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.6686, allocations: 204.8 kB / 1.119 GB, free: 3.223 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006463/0.6693, allocations: 0.6451 MB / 1.12 GB, free: 2.574 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.6693, allocations: 41.7 kB / 1.12 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.6696, allocations: 408.4 kB / 1.12 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.6698, allocations: 287.8 kB / 1.121 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.67, allocations: 162.5 kB / 1.121 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6701, allocations: 390.8 kB / 1.121 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004769/0.6706, allocations: 269.8 kB / 1.121 GB, free: 1.016 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005722/0.6712, allocations: 386.5 kB / 1.122 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.6722, allocations: 0.636 MB / 1.122 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6722, allocations: 0 / 1.122 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001752/0.674, allocations: 0.8682 MB / 1.123 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.674, allocations: 8 kB / 1.123 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.674, allocations: 0 / 1.123 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005432/0.6746, allocations: 84.83 kB / 1.123 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006504/0.6752, allocations: 171.7 kB / 1.124 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.677, allocations: 1.628 MB / 1.125 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006009/0.6776, allocations: 99.16 kB / 1.125 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/0.6777, allocations: 32.05 kB / 1.125 GB, free: 12.92 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: 18 (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 (97): * Single equations (assignments): 96 * 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.0003066/0.678, allocations: 277.4 kB / 1.125 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.6782, allocations: 86.97 kB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/0.6805, allocations: 1.168 MB / 1.127 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.6805, allocations: 12 kB / 1.127 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.6805, allocations: 4 kB / 1.127 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.6805, allocations: 3.984 kB / 1.127 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008508/0.6814, allocations: 0.9462 MB / 1.128 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6814, allocations: 3.938 kB / 1.128 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005694/0.6819, allocations: 155.8 kB / 1.128 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003933/0.6823, allocations: 72.73 kB / 1.128 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.406e-05/0.6824, allocations: 31.97 kB / 1.128 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.684, allocations: 1.654 MB / 1.13 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.684, allocations: 0 / 1.13 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.6858, allocations: 1.002 MB / 1.13 GB, free: 7.266 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.6861, allocations: 279.6 kB / 1.131 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.6862, allocations: 27.88 kB / 1.131 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006083/0.6869, allocations: 71.92 kB / 1.131 GB, free: 6.875 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.687, allocations: 76.89 kB / 1.131 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/0.6871, allocations: 39.97 kB / 1.131 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004771/0.6876, allocations: 483 kB / 1.131 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.282e-06/0.6876, allocations: 0 / 1.131 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006341/0.6882, allocations: 315.2 kB / 1.132 GB, free: 5.988 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.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 (100): * Single equations (assignments): 93 * 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.003111/0.6913, allocations: 2.066 MB / 1.134 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002142/0.6935, allocations: 1.077 MB / 1.135 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6935, allocations: 0 / 1.135 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008703/0.6944, allocations: 0.5548 MB / 1.135 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.6954, allocations: 289.7 kB / 1.136 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009614/0.705, allocations: 6.859 MB / 1.142 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.7055, allocations: 1.04 MB / 1.143 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000703/0.7062, allocations: 275.1 kB / 1.144 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004739/0.7067, allocations: 407.3 kB / 1.144 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.7067, allocations: 3.938 kB / 1.144 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04248/0.7492, allocations: 22.07 MB / 1.166 GB, free: 3.664 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/11.04, allocations: 10.12 kB / 1.166 GB, free: 3.652 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_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_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=86400.000000 File[27]=1002.240000 " Variables in the reference:time,incAng.incAng Variables in the result:time,decAng.calTimAux,decAng.decAng,decAng.modTimAux,incAng.incAng,solHouAng.solHouAng