Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.007098/0.007098, allocations: 98.02 kB / 15.73 MB, free: 6.055 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.002005/0.002005, allocations: 195.3 kB / 16.68 MB, free: 5.969 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.783/2.783, allocations: 482.4 MB / 0.7548 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.77 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2778, allocations: 162.2 MB / 1.241 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006869/0.2847, allocations: 4.799 MB / 1.246 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1702/0.455, allocations: 150.6 MB / 1.393 GB, free: 13.32 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006464/0.4556, allocations: 19.88 kB / 1.393 GB, free: 13.3 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006003/0.4563, allocations: 186.3 kB / 1.393 GB, free: 13.12 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001671/0.458, allocations: 0.5429 MB / 1.394 GB, free: 12.57 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.4599, allocations: 0.8238 MB / 1.395 GB, free: 11.76 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001607/0.4615, allocations: 1.366 MB / 1.396 GB, free: 10.39 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000886/0.4624, allocations: 0.5752 MB / 1.397 GB, free: 9.785 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006897/0.4631, allocations: 478.4 kB / 1.397 GB, free: 9.316 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000681/0.4638, allocations: 497.8 kB / 1.398 GB, free: 8.828 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001964/0.464, allocations: 112 kB / 1.398 GB, free: 8.719 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008816/0.4649, allocations: 487.5 kB / 1.398 GB, free: 8.242 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000315/0.4652, allocations: 287.1 kB / 1.398 GB, free: 7.961 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005893/0.4658, allocations: 0.548 MB / 1.399 GB, free: 7.41 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.4678, allocations: 1.623 MB / 1.401 GB, free: 5.781 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4678, allocations: 3.984 kB / 1.401 GB, free: 5.777 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4678, allocations: 0 / 1.401 GB, free: 5.777 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.29e-05/0.4678, allocations: 4 kB / 1.401 GB, free: 5.773 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002659/0.4705, allocations: 1.444 MB / 1.402 GB, free: 4.281 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.4706, allocations: 8.031 kB / 1.402 GB, free: 4.273 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000167/0.4707, allocations: 131.3 kB / 1.402 GB, free: 4.137 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009476/0.4717, allocations: 192.1 kB / 1.402 GB, free: 3.949 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.4729, allocations: 0.766 MB / 1.403 GB, free: 3.137 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.032e-05/0.473, allocations: 61.94 kB / 1.403 GB, free: 3.078 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.4731, allocations: 80 kB / 1.403 GB, free: 3 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.4747, allocations: 0.9027 MB / 1.404 GB, free: 2.055 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.4748, allocations: 0 / 1.404 GB, free: 2.055 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.421e-05/0.4749, allocations: 39.98 kB / 1.404 GB, free: 2.016 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.4749, allocations: 20 kB / 1.404 GB, free: 1.996 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.4768, allocations: 1.097 MB / 1.405 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004088/0.4809, allocations: 2.709 MB / 1.408 GB, free: 14.05 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.4826, allocations: 0.86 MB / 1.409 GB, free: 13.17 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005947/0.4832, allocations: 298.7 kB / 1.409 GB, free: 12.87 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.869e-05/0.4833, allocations: 32.55 kB / 1.409 GB, free: 12.84 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009038/0.4842, allocations: 496.6 kB / 1.409 GB, free: 12.34 MB / 1.139 GB Notification: Performance of pre-optimization done (n=79): time 1.994e-06/0.4842, allocations: 4 kB / 1.409 GB, free: 12.33 MB / 1.139 GB Notification: Performance of matching and sorting (n=79): time 0.003382/0.4876, allocations: 1.182 MB / 1.411 GB, free: 11.12 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.4877, allocations: 192.6 kB / 1.411 GB, free: 10.89 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008091/0.4885, allocations: 0.6214 MB / 1.411 GB, free: 10.27 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.165e-05/0.4886, allocations: 45.64 kB / 1.411 GB, free: 10.22 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/0.4889, allocations: 393 kB / 1.412 GB, free: 9.828 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.4892, allocations: 269.7 kB / 1.412 GB, free: 9.562 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.4894, allocations: 146.6 kB / 1.412 GB, free: 9.414 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000211/0.4897, allocations: 386.7 kB / 1.413 GB, free: 9.027 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005414/0.4902, allocations: 245.9 kB / 1.413 GB, free: 8.789 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006677/0.4909, allocations: 358.5 kB / 1.413 GB, free: 8.41 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.4921, allocations: 0.5721 MB / 1.414 GB, free: 7.828 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4921, allocations: 0 / 1.414 GB, free: 7.828 MB / 1.139 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001992/0.4941, allocations: 0.7984 MB / 1.414 GB, free: 7.016 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.4941, allocations: 4 kB / 1.414 GB, free: 7.012 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4941, allocations: 0 / 1.414 GB, free: 7.012 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006258/0.4948, allocations: 84.86 kB / 1.415 GB, free: 6.926 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006507/0.4954, allocations: 147.8 kB / 1.415 GB, free: 6.781 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.4978, allocations: 1.63 MB / 1.416 GB, free: 5.008 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006125/0.4984, allocations: 91.66 kB / 1.416 GB, free: 4.918 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-05/0.4985, allocations: 27.98 kB / 1.416 GB, free: 4.891 MB / 1.139 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.0003775/0.4989, allocations: 265.5 kB / 1.417 GB, free: 4.621 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.499, allocations: 91.42 kB / 1.417 GB, free: 4.531 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.5016, allocations: 1.042 MB / 1.418 GB, free: 3.473 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.5016, allocations: 8 kB / 1.418 GB, free: 3.465 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.5016, allocations: 4 kB / 1.418 GB, free: 3.461 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.5016, allocations: 11.91 kB / 1.418 GB, free: 3.449 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003349/0.505, allocations: 1.916 MB / 1.42 GB, free: 1.477 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.505, allocations: 3.938 kB / 1.42 GB, free: 1.473 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005983/0.5056, allocations: 143.8 kB / 1.42 GB, free: 1.332 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004797/0.5061, allocations: 80.78 kB / 1.42 GB, free: 1.25 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-05/0.5062, allocations: 23.98 kB / 1.42 GB, free: 1.227 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/0.5083, allocations: 1.65 MB / 1.421 GB, free: 15.43 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5083, allocations: 8.094 kB / 1.422 GB, free: 15.42 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.5104, allocations: 0.9905 MB / 1.422 GB, free: 14.41 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003593/0.5108, allocations: 272.2 kB / 1.423 GB, free: 14.12 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.511, allocations: 23.98 kB / 1.423 GB, free: 14.1 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006676/0.5116, allocations: 55.94 kB / 1.423 GB, free: 14.05 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.5118, allocations: 76.89 kB / 1.423 GB, free: 13.97 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-05/0.5119, allocations: 31.98 kB / 1.423 GB, free: 13.94 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005875/0.5125, allocations: 455 kB / 1.423 GB, free: 13.5 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.034e-06/0.5125, allocations: 0 / 1.423 GB, free: 13.5 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007495/0.5132, allocations: 319.1 kB / 1.424 GB, free: 13.19 MB / 1.154 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.004284/0.5175, allocations: 2.053 MB / 1.426 GB, free: 11.29 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.5192, allocations: 0.7843 MB / 1.426 GB, free: 10.49 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5192, allocations: 0 / 1.426 GB, free: 10.49 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.5202, allocations: 0.516 MB / 1.427 GB, free: 9.965 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.5215, allocations: 310.4 kB / 1.427 GB, free: 9.688 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.5318, allocations: 6.143 MB / 1.433 GB, free: 3.43 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007023/0.5326, allocations: 1.015 MB / 1.434 GB, free: 2.383 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007352/0.5333, allocations: 254.6 kB / 1.434 GB, free: 2.129 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005815/0.5339, allocations: 383.3 kB / 1.435 GB, free: 1.754 MB / 1.154 GB Notification: Performance of SimCode: time 3e-07/0.5339, allocations: 0 / 1.435 GB, free: 1.754 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08885/0.6228, allocations: 21.32 MB / 1.456 GB, free: 12.77 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.28, allocations: 15.2 kB / 1.456 GB, free: 12.76 MB / 1.186 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches