Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_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.007149/0.007149, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001996/0.001996, allocations: 187.5 kB / 16.67 MB, free: 5.465 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.884/2.884, allocations: 482.4 MB / 0.7548 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.89 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2791, allocations: 162.2 MB / 1.241 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006907/0.286, allocations: 4.916 MB / 1.246 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6644/0.9504, allocations: 150.6 MB / 1.393 GB, free: 2.117 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006027/0.951, allocations: 19.66 kB / 1.393 GB, free: 2.109 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005413/0.9516, allocations: 189.1 kB / 1.394 GB, free: 1.945 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.9531, allocations: 0.5493 MB / 1.394 GB, free: 1.551 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.9549, allocations: 0.8591 MB / 1.395 GB, free: 0.9141 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001354/0.9563, allocations: 1.422 MB / 1.396 GB, free: 36 kB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008374/0.9571, allocations: 0.5872 MB / 1.397 GB, free: 15.67 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005551/0.9577, allocations: 0.4959 MB / 1.397 GB, free: 15.37 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006327/0.9584, allocations: 0.5175 MB / 1.398 GB, free: 15 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.9585, allocations: 118.7 kB / 1.398 GB, free: 15 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007624/0.9593, allocations: 490 kB / 1.398 GB, free: 14.82 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000296/0.9596, allocations: 298.5 kB / 1.399 GB, free: 14.58 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000546/0.9602, allocations: 0.5781 MB / 1.399 GB, free: 14.16 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.9619, allocations: 1.674 MB / 1.401 GB, free: 12.95 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.9619, allocations: 1.469 kB / 1.401 GB, free: 12.95 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.192e-06/0.962, allocations: 4 kB / 1.401 GB, free: 12.95 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.962, allocations: 0 / 1.401 GB, free: 12.95 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002908/0.9649, allocations: 1.506 MB / 1.402 GB, free: 11.76 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.9649, allocations: 9.969 kB / 1.402 GB, free: 11.76 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.9651, allocations: 134.5 kB / 1.403 GB, free: 11.65 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000932/0.966, allocations: 197.4 kB / 1.403 GB, free: 11.55 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.9673, allocations: 0.7807 MB / 1.404 GB, free: 10.91 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.97e-05/0.9673, allocations: 69.23 kB / 1.404 GB, free: 10.88 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.9674, allocations: 83.27 kB / 1.404 GB, free: 10.85 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.9691, allocations: 0.9469 MB / 1.405 GB, free: 10.24 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.9691, allocations: 3.938 kB / 1.405 GB, free: 10.24 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.095e-05/0.9692, allocations: 36.41 kB / 1.405 GB, free: 10.21 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.9693, allocations: 20.94 kB / 1.405 GB, free: 10.21 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.9712, allocations: 1.128 MB / 1.406 GB, free: 9.668 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004123/0.9753, allocations: 2.773 MB / 1.408 GB, free: 7.426 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.977, allocations: 0.9113 MB / 1.409 GB, free: 6.902 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005945/0.9776, allocations: 314.8 kB / 1.41 GB, free: 6.746 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.129e-05/0.9777, allocations: 36.27 kB / 1.41 GB, free: 6.727 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009377/0.9786, allocations: 0.5159 MB / 1.41 GB, free: 6.395 MB / 1.107 GB Notification: Performance of pre-optimization done (n=84): time 2.014e-06/0.9787, allocations: 0 / 1.41 GB, free: 6.395 MB / 1.107 GB Notification: Performance of matching and sorting (n=84): time 0.003415/0.9821, allocations: 1.257 MB / 1.411 GB, free: 5.711 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.9822, allocations: 194.3 kB / 1.412 GB, free: 5.488 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007837/0.983, allocations: 0.6347 MB / 1.412 GB, free: 5.121 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.866e-05/0.9831, allocations: 43.2 kB / 1.412 GB, free: 5.078 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000339/0.9834, allocations: 409.7 kB / 1.413 GB, free: 4.719 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/0.9837, allocations: 284 kB / 1.413 GB, free: 4.473 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/0.9839, allocations: 157.4 kB / 1.413 GB, free: 4.375 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002131/0.9842, allocations: 390.3 kB / 1.413 GB, free: 4.004 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/0.9847, allocations: 254.5 kB / 1.414 GB, free: 3.879 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006756/0.9854, allocations: 373.4 kB / 1.414 GB, free: 3.645 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.9866, allocations: 0.5997 MB / 1.415 GB, free: 3.32 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.9866, allocations: 0 / 1.415 GB, free: 3.32 MB / 1.107 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002001/0.9886, allocations: 0.834 MB / 1.415 GB, free: 2.895 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.9886, allocations: 9.406 kB / 1.415 GB, free: 2.891 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.9886, allocations: 1.156 kB / 1.415 GB, free: 2.891 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006103/0.9892, allocations: 83.84 kB / 1.416 GB, free: 2.848 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/0.9899, allocations: 157.4 kB / 1.416 GB, free: 2.809 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.9922, allocations: 1.632 MB / 1.417 GB, free: 1.207 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006578/0.9928, allocations: 95.73 kB / 1.417 GB, free: 1.145 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/0.9929, allocations: 33.14 kB / 1.417 GB, free: 1.133 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: 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.000383/0.9933, allocations: 273.1 kB / 1.418 GB, free: 0.918 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.9935, allocations: 93.5 kB / 1.418 GB, free: 0.8672 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/0.9961, allocations: 1.135 MB / 1.419 GB, free: 244 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.9961, allocations: 13.91 kB / 1.419 GB, free: 240 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.9961, allocations: 0 / 1.419 GB, free: 240 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.9961, allocations: 3.984 kB / 1.419 GB, free: 236 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003353/0.9995, allocations: 2.026 MB / 1.421 GB, free: 14.89 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.9995, allocations: 0 / 1.421 GB, free: 14.89 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005963/1, allocations: 153.7 kB / 1.421 GB, free: 14.86 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004506/1.001, allocations: 75.22 kB / 1.421 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-05/1.001, allocations: 30.75 kB / 1.421 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/1.003, allocations: 1.657 MB / 1.423 GB, free: 13.18 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.003, allocations: 0.8125 kB / 1.423 GB, free: 13.18 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/1.005, allocations: 1.057 MB / 1.424 GB, free: 12.3 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003741/1.005, allocations: 280.2 kB / 1.424 GB, free: 12.01 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/1.005, allocations: 23.98 kB / 1.424 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007112/1.006, allocations: 67.94 kB / 1.424 GB, free: 11.92 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/1.006, allocations: 76.89 kB / 1.424 GB, free: 11.84 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.071e-05/1.006, allocations: 35.97 kB / 1.424 GB, free: 11.8 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005984/1.007, allocations: 469.7 kB / 1.425 GB, free: 11.36 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1.007, allocations: 0 / 1.425 GB, free: 11.36 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000808/1.008, allocations: 331.2 kB / 1.425 GB, free: 11.03 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: 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.004427/1.012, allocations: 2.115 MB / 1.427 GB, free: 9.082 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001755/1.014, allocations: 0.8361 MB / 1.428 GB, free: 8.23 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.014, allocations: 4 kB / 1.428 GB, free: 8.227 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/1.015, allocations: 0.5431 MB / 1.428 GB, free: 7.676 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/1.016, allocations: 298.9 kB / 1.429 GB, free: 7.395 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/1.027, allocations: 6.406 MB / 1.435 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000724/1.028, allocations: 1.044 MB / 1.436 GB, free: 15.77 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007675/1.029, allocations: 267 kB / 1.436 GB, free: 15.5 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006358/1.029, allocations: 411.3 kB / 1.437 GB, free: 15.1 MB / 1.139 GB Notification: Performance of SimCode: time 3.547e-06/1.029, allocations: 0 / 1.437 GB, free: 15.1 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05633/1.086, allocations: 22.25 MB / 1.458 GB, free: 9.18 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.87, allocations: 3.594 kB / 1.458 GB, free: 9.18 MB / 1.154 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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_BaseClasses_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches