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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.001641/0.001641, allocations: 112.5 kB / 15.73 MB, free: 76 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.001982/0.001982, allocations: 187.9 kB / 16.66 MB, free: 6.582 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.156/2.156, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 62.22 kB / 0.9504 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2218, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005599/0.2274, allocations: 4.413 MB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1408/0.3682, allocations: 150.6 MB / 1.239 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006837/0.3689, allocations: 23.88 kB / 1.239 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005997/0.3696, allocations: 170.4 kB / 1.239 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.3713, allocations: 0.514 MB / 1.24 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.3732, allocations: 0.8498 MB / 1.24 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.3746, allocations: 1.34 MB / 1.242 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008857/0.3755, allocations: 0.6373 MB / 1.242 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000655/0.3762, allocations: 498.3 kB / 1.243 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006438/0.3768, allocations: 0.5094 MB / 1.243 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.377, allocations: 116 kB / 1.243 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008365/0.3779, allocations: 487.6 kB / 1.244 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.3782, allocations: 299.1 kB / 1.244 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005347/0.3787, allocations: 0.5596 MB / 1.245 GB, free: 396 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001874/0.3806, allocations: 1.646 MB / 1.246 GB, free: 14.73 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3806, allocations: 4 kB / 1.246 GB, free: 14.73 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3806, allocations: 0 / 1.246 GB, free: 14.73 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.094e-05/0.3806, allocations: 0 / 1.246 GB, free: 14.73 MB / 1.014 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.002749/0.3834, allocations: 1.493 MB / 1.248 GB, free: 13.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3834, allocations: 8.031 kB / 1.248 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001578/0.3836, allocations: 139.5 kB / 1.248 GB, free: 13.03 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009171/0.3845, allocations: 196 kB / 1.248 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.3857, allocations: 0.7784 MB / 1.249 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.484e-05/0.3858, allocations: 66 kB / 1.249 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.3859, allocations: 84 kB / 1.249 GB, free: 11.88 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.3875, allocations: 0.9417 MB / 1.25 GB, free: 10.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.3875, allocations: 0 / 1.25 GB, free: 10.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.601e-05/0.3876, allocations: 39.94 kB / 1.25 GB, free: 10.85 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.3876, allocations: 24 kB / 1.25 GB, free: 10.83 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.3893, allocations: 1.124 MB / 1.251 GB, free: 9.703 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00375/0.3931, allocations: 2.52 MB / 1.253 GB, free: 7.113 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.3946, allocations: 0.9046 MB / 1.254 GB, free: 6.191 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005424/0.3952, allocations: 314.3 kB / 1.255 GB, free: 5.887 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-05/0.3953, allocations: 32.69 kB / 1.255 GB, free: 5.852 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008463/0.3961, allocations: 0.5201 MB / 1.255 GB, free: 5.309 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 2.305e-06/0.3961, allocations: 3.938 kB / 1.255 GB, free: 5.305 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.00306/0.3992, allocations: 1.251 MB / 1.256 GB, free: 4.031 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.115e-05/0.3993, allocations: 188.9 kB / 1.257 GB, free: 3.805 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000744/0.4001, allocations: 0.6411 MB / 1.257 GB, free: 3.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.218e-05/0.4001, allocations: 41.7 kB / 1.257 GB, free: 3.113 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.4004, allocations: 409.1 kB / 1.258 GB, free: 2.707 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.4007, allocations: 285.6 kB / 1.258 GB, free: 2.426 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.4009, allocations: 158.6 kB / 1.258 GB, free: 2.262 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.401, allocations: 386.8 kB / 1.258 GB, free: 1.875 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/0.4016, allocations: 253.9 kB / 1.259 GB, free: 1.629 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006032/0.4022, allocations: 366.5 kB / 1.259 GB, free: 1.242 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.4033, allocations: 0.6008 MB / 1.26 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.4033, allocations: 0 / 1.26 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.4562/0.8594, allocations: 0.8276 MB / 1.26 GB, free: 173.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.8595, allocations: 14.05 kB / 1.26 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.8595, allocations: 1.25 kB / 1.26 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005936/0.8601, allocations: 80.86 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/0.8608, allocations: 160.7 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.8626, allocations: 1.623 MB / 1.262 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007434/0.8633, allocations: 96.03 kB / 1.262 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.388e-05/0.8634, allocations: 37.47 kB / 1.262 GB, free: 172.1 MB / 1.014 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 (91): * Single equations (assignments): 90 * 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.0004001/0.8638, allocations: 267.7 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.864, allocations: 94.69 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/0.8664, allocations: 1.136 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.8665, allocations: 10.34 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.8665, allocations: 2.438 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.8665, allocations: 8.031 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.8698, allocations: 2.024 MB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.8698, allocations: 5.125 kB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006017/0.8704, allocations: 155.5 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004267/0.8709, allocations: 74.41 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.814e-05/0.8709, allocations: 26.38 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.8725, allocations: 1.653 MB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8725, allocations: 7.562 kB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.8745, allocations: 1.051 MB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/0.8748, allocations: 292.5 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.875, allocations: 22.7 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006837/0.8757, allocations: 63.94 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.8758, allocations: 78.33 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.821e-05/0.8759, allocations: 37.31 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000584/0.8765, allocations: 466.2 kB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8765, allocations: 0 / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000889/0.8774, allocations: 321.6 kB / 1.27 GB, free: 168.7 MB / 1.014 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.003394/0.8808, allocations: 2.109 MB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001792/0.8826, allocations: 0.8394 MB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8826, allocations: 1.094 kB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.8837, allocations: 0.5355 MB / 1.273 GB, free: 167 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.8849, allocations: 300.4 kB / 1.274 GB, free: 167 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.8955, allocations: 6.524 MB / 1.28 GB, free: 163.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.896, allocations: 1.031 MB / 1.281 GB, free: 163 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008167/0.8969, allocations: 276.1 kB / 1.281 GB, free: 162.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00049/0.8974, allocations: 407.9 kB / 1.282 GB, free: 162.6 MB / 1.014 GB Notification: Performance of SimCode: time 7.71e-07/0.8974, allocations: 0 / 1.282 GB, free: 162.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04397/0.9413, allocations: 21.86 MB / 1.303 GB, free: 155.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/13.15, allocations: 14.11 kB / 1.303 GB, free: 155.4 MB / 1.014 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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_BaseClasses_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/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