Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_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.005463/0.005468, allocations: 102.4 kB / 15.73 MB, free: 6.449 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.001613/0.001613, allocations: 199.6 kB / 16.68 MB, free: 6.352 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.907/2.907, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.89 kB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2788, allocations: 162.2 MB / 1.241 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006569/0.2854, allocations: 4.815 MB / 1.246 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6599/0.9453, allocations: 150.6 MB / 1.393 GB, free: 2.266 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006684/0.946, allocations: 15.56 kB / 1.393 GB, free: 2.262 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006288/0.9467, allocations: 185.8 kB / 1.393 GB, free: 2.102 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.9485, allocations: 0.546 MB / 1.394 GB, free: 1.707 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.9504, allocations: 0.8395 MB / 1.395 GB, free: 1.09 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001524/0.9519, allocations: 1.382 MB / 1.396 GB, free: 236 kB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008357/0.9528, allocations: 0.5934 MB / 1.397 GB, free: 15.86 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005291/0.9533, allocations: 482.2 kB / 1.397 GB, free: 15.58 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006073/0.9539, allocations: 0.5055 MB / 1.398 GB, free: 15.21 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.9541, allocations: 117.3 kB / 1.398 GB, free: 15.21 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008206/0.9549, allocations: 481.7 kB / 1.398 GB, free: 15.04 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003028/0.9553, allocations: 301.3 kB / 1.398 GB, free: 14.8 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005438/0.9558, allocations: 0.5559 MB / 1.399 GB, free: 14.39 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.9576, allocations: 1.656 MB / 1.401 GB, free: 13.2 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.9576, allocations: 0 / 1.401 GB, free: 13.2 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.163e-06/0.9576, allocations: 1.312 kB / 1.401 GB, free: 13.2 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.9577, allocations: 0 / 1.401 GB, free: 13.2 MB / 1.107 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.002477/0.9601, allocations: 1.46 MB / 1.402 GB, free: 12.04 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.9602, allocations: 9.875 kB / 1.402 GB, free: 12.04 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001667/0.9604, allocations: 136.3 kB / 1.402 GB, free: 11.93 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009081/0.9613, allocations: 187.7 kB / 1.402 GB, free: 11.84 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.9624, allocations: 0.7684 MB / 1.403 GB, free: 11.2 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/0.9625, allocations: 69.42 kB / 1.403 GB, free: 11.17 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.9626, allocations: 80.41 kB / 1.403 GB, free: 11.14 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.9642, allocations: 0.9169 MB / 1.404 GB, free: 10.55 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.9643, allocations: 1.125 kB / 1.404 GB, free: 10.55 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.092e-05/0.9644, allocations: 35.91 kB / 1.404 GB, free: 10.52 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.9644, allocations: 25.19 kB / 1.404 GB, free: 10.52 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.9662, allocations: 1.112 MB / 1.405 GB, free: 9.988 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004049/0.9703, allocations: 2.754 MB / 1.408 GB, free: 7.75 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.9719, allocations: 0.89 MB / 1.409 GB, free: 7.246 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005728/0.9725, allocations: 305.3 kB / 1.409 GB, free: 7.09 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.619e-05/0.9726, allocations: 38.34 kB / 1.409 GB, free: 7.066 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008705/0.9735, allocations: 493 kB / 1.41 GB, free: 6.754 MB / 1.107 GB Notification: Performance of pre-optimization done (n=79): time 2.094e-06/0.9735, allocations: 1.094 kB / 1.41 GB, free: 6.754 MB / 1.107 GB Notification: Performance of matching and sorting (n=79): time 0.003187/0.9767, allocations: 1.195 MB / 1.411 GB, free: 6.105 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.9768, allocations: 188.4 kB / 1.411 GB, free: 5.887 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007757/0.9776, allocations: 0.6242 MB / 1.412 GB, free: 5.527 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.465e-05/0.9777, allocations: 46.11 kB / 1.412 GB, free: 5.48 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.978, allocations: 405.1 kB / 1.412 GB, free: 5.125 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/0.9783, allocations: 273.1 kB / 1.412 GB, free: 4.887 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.9785, allocations: 142.9 kB / 1.412 GB, free: 4.801 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.9787, allocations: 393.7 kB / 1.413 GB, free: 4.426 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/0.9792, allocations: 244.2 kB / 1.413 GB, free: 4.305 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006262/0.9799, allocations: 361.8 kB / 1.413 GB, free: 4.074 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.981, allocations: 0.583 MB / 1.414 GB, free: 3.754 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.981, allocations: 5.25 kB / 1.414 GB, free: 3.754 MB / 1.107 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00192/0.9829, allocations: 0.8008 MB / 1.415 GB, free: 3.34 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.983, allocations: 5.688 kB / 1.415 GB, free: 3.34 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.983, allocations: 1.656 kB / 1.415 GB, free: 3.34 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006032/0.9836, allocations: 88.23 kB / 1.415 GB, free: 3.293 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005941/0.9842, allocations: 151.1 kB / 1.415 GB, free: 3.254 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.9864, allocations: 1.638 MB / 1.417 GB, free: 1.645 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006116/0.987, allocations: 85.17 kB / 1.417 GB, free: 1.59 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/0.9871, allocations: 32.39 kB / 1.417 GB, free: 1.578 MB / 1.107 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.0003681/0.9875, allocations: 274.7 kB / 1.417 GB, free: 1.359 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.9876, allocations: 86.28 kB / 1.417 GB, free: 1.312 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.9901, allocations: 1.058 MB / 1.418 GB, free: 0.7227 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.9901, allocations: 12.3 kB / 1.418 GB, free: 0.7188 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.9901, allocations: 5.375 kB / 1.418 GB, free: 0.7148 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.9901, allocations: 3.984 kB / 1.418 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/0.9933, allocations: 1.965 MB / 1.42 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.9933, allocations: 0 / 1.42 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005353/0.9939, allocations: 143 kB / 1.42 GB, free: 15.37 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004523/0.9943, allocations: 70.98 kB / 1.42 GB, free: 15.33 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.863e-05/0.9944, allocations: 32.66 kB / 1.42 GB, free: 15.31 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/0.9964, allocations: 1.668 MB / 1.422 GB, free: 13.69 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9964, allocations: 0 / 1.422 GB, free: 13.69 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.9985, allocations: 1.002 MB / 1.423 GB, free: 13.11 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/0.9988, allocations: 275.4 kB / 1.423 GB, free: 12.87 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.999, allocations: 22.78 kB / 1.423 GB, free: 12.86 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006684/0.9997, allocations: 66.23 kB / 1.423 GB, free: 12.82 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.9998, allocations: 69.16 kB / 1.423 GB, free: 12.76 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.758e-05/0.9999, allocations: 40.03 kB / 1.423 GB, free: 12.72 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005829/1, allocations: 455 kB / 1.424 GB, free: 12.28 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1, allocations: 0 / 1.424 GB, free: 12.28 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007908/1.001, allocations: 319.2 kB / 1.424 GB, free: 11.97 MB / 1.123 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.004248/1.006, allocations: 2.057 MB / 1.426 GB, free: 10.07 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001645/1.007, allocations: 0.8009 MB / 1.427 GB, free: 9.258 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.007, allocations: 0 / 1.427 GB, free: 9.258 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009822/1.008, allocations: 0.5081 MB / 1.427 GB, free: 8.738 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/1.009, allocations: 310.4 kB / 1.428 GB, free: 8.461 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/1.02, allocations: 6.214 MB / 1.434 GB, free: 2.137 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/1.02, allocations: 1.024 MB / 1.435 GB, free: 1.078 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0007332/1.021, allocations: 258.7 kB / 1.435 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005575/1.022, allocations: 367.3 kB / 1.435 GB, free: 472 kB / 1.123 GB Notification: Performance of SimCode: time 2.71e-07/1.022, allocations: 0 / 1.435 GB, free: 472 kB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05469/1.076, allocations: 21.58 MB / 1.456 GB, free: 11.2 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.69, allocations: 9.656 kB / 1.456 GB, free: 11.19 MB / 1.154 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches