Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.005091/0.005095, allocations: 98.38 kB / 15.73 MB, free: 6.008 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.001493/0.001493, allocations: 192.8 kB / 16.68 MB, free: 5.934 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.756/2.756, allocations: 482.4 MB / 0.7548 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 68.14 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2748, allocations: 162.2 MB / 1.241 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008832/0.2836, allocations: 7.053 MB / 1.248 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1691/0.4527, allocations: 151.2 MB / 1.396 GB, free: 10.43 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.4537, allocations: 15.94 kB / 1.396 GB, free: 10.41 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000838/0.4546, allocations: 257.4 kB / 1.396 GB, free: 10.16 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.457, allocations: 0.79 MB / 1.397 GB, free: 9.367 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.4593, allocations: 1.016 MB / 1.398 GB, free: 8.359 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002112/0.4614, allocations: 2.089 MB / 1.4 GB, free: 6.262 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.4629, allocations: 1.111 MB / 1.401 GB, free: 5.094 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009061/0.4638, allocations: 0.8176 MB / 1.402 GB, free: 4.273 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009869/0.4648, allocations: 0.8753 MB / 1.403 GB, free: 3.395 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002796/0.4651, allocations: 220 kB / 1.403 GB, free: 3.18 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009841/0.466, allocations: 0.5738 MB / 1.404 GB, free: 2.605 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000442/0.4665, allocations: 498.5 kB / 1.404 GB, free: 2.117 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000917/0.4674, allocations: 0.9759 MB / 1.405 GB, free: 1.137 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002826/0.4703, allocations: 2.681 MB / 1.408 GB, free: 14.45 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.4703, allocations: 4 kB / 1.408 GB, free: 14.44 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4703, allocations: 0 / 1.408 GB, free: 14.44 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.704e-05/0.4703, allocations: 0 / 1.408 GB, free: 14.44 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003684/0.474, allocations: 2.096 MB / 1.41 GB, free: 12.29 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.474, allocations: 12.03 kB / 1.41 GB, free: 12.28 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002714/0.4743, allocations: 228.2 kB / 1.41 GB, free: 12.04 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.4754, allocations: 267.6 kB / 1.41 GB, free: 11.78 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.4769, allocations: 1.005 MB / 1.411 GB, free: 10.73 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.477, allocations: 144.8 kB / 1.411 GB, free: 10.58 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/0.4773, allocations: 152 kB / 1.411 GB, free: 10.43 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002742/0.48, allocations: 1.596 MB / 1.413 GB, free: 8.781 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.48, allocations: 0 / 1.413 GB, free: 8.781 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.4802, allocations: 64 kB / 1.413 GB, free: 8.719 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.505e-05/0.4802, allocations: 40 kB / 1.413 GB, free: 8.68 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002812/0.4831, allocations: 1.592 MB / 1.415 GB, free: 7.082 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007019/0.4901, allocations: 4.992 MB / 1.419 GB, free: 1.824 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/0.4922, allocations: 1.094 MB / 1.421 GB, free: 0.7266 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007893/0.493, allocations: 431.7 kB / 1.421 GB, free: 312 kB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.4931, allocations: 45.08 kB / 1.421 GB, free: 268 kB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/0.4944, allocations: 0.704 MB / 1.422 GB, free: 15.54 MB / 1.154 GB Notification: Performance of pre-optimization done (n=111): time 2.605e-06/0.4944, allocations: 0 / 1.422 GB, free: 15.54 MB / 1.154 GB Notification: Performance of matching and sorting (n=111): time 0.004184/0.4986, allocations: 1.661 MB / 1.423 GB, free: 13.85 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.4987, allocations: 192.9 kB / 1.423 GB, free: 13.62 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.4999, allocations: 0.8456 MB / 1.424 GB, free: 12.75 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.56e-05/0.5, allocations: 49.7 kB / 1.424 GB, free: 12.69 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005178/0.5005, allocations: 0.6299 MB / 1.425 GB, free: 12.05 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003221/0.5008, allocations: 376.8 kB / 1.425 GB, free: 11.68 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003488/0.5012, allocations: 210.8 kB / 1.426 GB, free: 11.47 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.5013, allocations: 341.9 kB / 1.426 GB, free: 11.13 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007819/0.5021, allocations: 378.4 kB / 1.426 GB, free: 10.76 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000935/0.5031, allocations: 0.5102 MB / 1.427 GB, free: 10.22 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.5048, allocations: 0.8555 MB / 1.428 GB, free: 9.352 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.5048, allocations: 7.984 kB / 1.428 GB, free: 9.344 MB / 1.154 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002627/0.5074, allocations: 1.15 MB / 1.429 GB, free: 8.184 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.5075, allocations: 7.984 kB / 1.429 GB, free: 8.176 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.5075, allocations: 4 kB / 1.429 GB, free: 8.172 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006017/0.5081, allocations: 84.78 kB / 1.429 GB, free: 8.086 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009618/0.509, allocations: 219.7 kB / 1.429 GB, free: 7.871 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.5113, allocations: 1.65 MB / 1.431 GB, free: 6.078 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008618/0.5122, allocations: 129.1 kB / 1.431 GB, free: 5.953 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.813e-05/0.5123, allocations: 47.95 kB / 1.431 GB, free: 5.906 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 (HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * 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.0005155/0.5128, allocations: 343.9 kB / 1.431 GB, free: 5.562 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.513, allocations: 127.2 kB / 1.431 GB, free: 5.438 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00349/0.5165, allocations: 1.536 MB / 1.433 GB, free: 3.887 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.5166, allocations: 16 kB / 1.433 GB, free: 3.871 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.5166, allocations: 0 / 1.433 GB, free: 3.871 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.5166, allocations: 3.984 kB / 1.433 GB, free: 3.867 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.5182, allocations: 1.38 MB / 1.434 GB, free: 2.434 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.5182, allocations: 0 / 1.434 GB, free: 2.434 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008584/0.5191, allocations: 199.7 kB / 1.434 GB, free: 2.238 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004542/0.5196, allocations: 72.78 kB / 1.434 GB, free: 2.164 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.981e-05/0.5196, allocations: 35.97 kB / 1.434 GB, free: 2.129 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.5217, allocations: 1.681 MB / 1.436 GB, free: 308 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.5218, allocations: 4.062 kB / 1.436 GB, free: 304 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/0.5245, allocations: 1.286 MB / 1.437 GB, free: 14.99 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004845/0.525, allocations: 363.9 kB / 1.438 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.5252, allocations: 35.89 kB / 1.438 GB, free: 14.58 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008855/0.5261, allocations: 83.91 kB / 1.438 GB, free: 14.5 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.5263, allocations: 101.2 kB / 1.438 GB, free: 14.39 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.855e-05/0.5264, allocations: 43.97 kB / 1.438 GB, free: 14.35 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008435/0.5273, allocations: 0.6215 MB / 1.438 GB, free: 13.72 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5273, allocations: 0 / 1.438 GB, free: 13.72 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001005/0.5283, allocations: 474.7 kB / 1.439 GB, free: 13.25 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.004857/0.5332, allocations: 2.362 MB / 1.441 GB, free: 11.05 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002216/0.5354, allocations: 1.113 MB / 1.442 GB, free: 9.922 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5354, allocations: 4 kB / 1.442 GB, free: 9.918 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.5367, allocations: 0.7011 MB / 1.443 GB, free: 9.203 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.5381, allocations: 351.8 kB / 1.443 GB, free: 8.883 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/0.5523, allocations: 8.705 MB / 1.452 GB, free: 20 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009158/0.5533, allocations: 1.22 MB / 1.453 GB, free: 14.77 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009364/0.5542, allocations: 321.2 kB / 1.453 GB, free: 14.45 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009127/0.5551, allocations: 0.6124 MB / 1.454 GB, free: 13.84 MB / 1.186 GB Notification: Performance of SimCode: time 4.51e-07/0.5551, allocations: 4 kB / 1.454 GB, free: 13.84 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06517/0.6203, allocations: 29.37 MB / 1.483 GB, free: 0.8281 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/13.99, allocations: 8.062 kB / 1.483 GB, free: 0.8203 MB / 1.201 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches