Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 109.1 kB / 18.94 MB, free: 2.797 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 220.3 kB / 22.26 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.768/2.768, allocations: 476.7 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 66 kB / 1.117 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3297, allocations: 169.9 MB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.008298/0.3379, allocations: 5.228 MB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1897/0.5277, allocations: 154.2 MB / 1.439 GB, free: 11.57 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009552/0.5286, allocations: 23.81 kB / 1.439 GB, free: 11.55 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006747/0.5293, allocations: 210.1 kB / 1.439 GB, free: 11.34 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.5312, allocations: 0.5783 MB / 1.44 GB, free: 10.76 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.5333, allocations: 0.8953 MB / 1.441 GB, free: 9.871 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001791/0.535, allocations: 1.463 MB / 1.442 GB, free: 8.398 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008076/0.5359, allocations: 476.6 kB / 1.443 GB, free: 7.91 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007987/0.5367, allocations: 0.5412 MB / 1.443 GB, free: 7.367 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007201/0.5374, allocations: 0.5538 MB / 1.444 GB, free: 6.812 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.5375, allocations: 128 kB / 1.444 GB, free: 6.688 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.5386, allocations: 0.5269 MB / 1.444 GB, free: 6.16 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003146/0.5389, allocations: 323 kB / 1.445 GB, free: 5.844 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005983/0.5395, allocations: 0.6102 MB / 1.445 GB, free: 5.23 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002381/0.5419, allocations: 1.798 MB / 1.447 GB, free: 3.426 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5419, allocations: 0 / 1.447 GB, free: 3.426 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5419, allocations: 0 / 1.447 GB, free: 3.426 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.977e-05/0.5419, allocations: 3.984 kB / 1.447 GB, free: 3.422 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002859/0.5448, allocations: 1.489 MB / 1.448 GB, free: 1.898 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.5448, allocations: 8.031 kB / 1.448 GB, free: 1.891 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001769/0.545, allocations: 152.1 kB / 1.449 GB, free: 1.734 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.5469, allocations: 283.9 kB / 1.449 GB, free: 1.457 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.5482, allocations: 0.7297 MB / 1.45 GB, free: 0.6992 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.946e-05/0.5483, allocations: 73.98 kB / 1.45 GB, free: 0.625 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.5485, allocations: 92 kB / 1.45 GB, free: 0.5352 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.5503, allocations: 1.011 MB / 1.451 GB, free: 15.48 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.5503, allocations: 0 / 1.451 GB, free: 15.48 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.625e-05/0.5504, allocations: 36 kB / 1.451 GB, free: 15.45 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.5504, allocations: 24 kB / 1.451 GB, free: 15.43 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/0.5525, allocations: 1.186 MB / 1.452 GB, free: 14.24 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004581/0.557, allocations: 2.81 MB / 1.455 GB, free: 11.31 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/0.5594, allocations: 0.8506 MB / 1.455 GB, free: 10.45 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005786/0.56, allocations: 294.6 kB / 1.456 GB, free: 10.16 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.086e-05/0.5601, allocations: 36.59 kB / 1.456 GB, free: 10.12 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009147/0.561, allocations: 0.4914 MB / 1.456 GB, free: 9.613 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 2.184e-06/0.561, allocations: 0 / 1.456 GB, free: 9.613 MB / 1.154 GB Notification: Performance of matching and sorting (n=82): time 0.00339/0.5644, allocations: 1.167 MB / 1.457 GB, free: 8.438 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.5645, allocations: 188.6 kB / 1.458 GB, free: 8.211 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008964/0.5654, allocations: 0.6607 MB / 1.458 GB, free: 7.539 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.69e-05/0.5655, allocations: 41.7 kB / 1.458 GB, free: 7.492 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.5659, allocations: 445 kB / 1.459 GB, free: 7.051 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.5661, allocations: 281.6 kB / 1.459 GB, free: 6.773 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.5664, allocations: 154.6 kB / 1.459 GB, free: 6.613 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.5666, allocations: 390.8 kB / 1.459 GB, free: 6.223 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000589/0.5672, allocations: 253.9 kB / 1.46 GB, free: 5.977 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006812/0.5678, allocations: 374.5 kB / 1.46 GB, free: 5.59 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.569, allocations: 0.5917 MB / 1.461 GB, free: 4.988 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.569, allocations: 8 kB / 1.461 GB, free: 4.98 MB / 1.154 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002066/0.5711, allocations: 0.8334 MB / 1.461 GB, free: 4.137 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.5711, allocations: 4 kB / 1.461 GB, free: 4.133 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.5711, allocations: 0 / 1.461 GB, free: 4.133 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006285/0.5717, allocations: 84.86 kB / 1.462 GB, free: 4.047 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/0.5724, allocations: 163.7 kB / 1.462 GB, free: 3.887 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.5746, allocations: 1.525 MB / 1.463 GB, free: 2.238 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006909/0.5753, allocations: 95.44 kB / 1.463 GB, free: 2.145 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.554e-05/0.5754, allocations: 36.03 kB / 1.463 GB, free: 2.109 MB / 1.154 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 (88): * Single equations (assignments): 87 * 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.0004738/0.5758, allocations: 270.2 kB / 1.464 GB, free: 1.836 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.576, allocations: 95.42 kB / 1.464 GB, free: 1.742 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/0.5785, allocations: 1.093 MB / 1.465 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.5785, allocations: 11.98 kB / 1.465 GB, free: 0.6211 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.5785, allocations: 0 / 1.465 GB, free: 0.6211 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.5785, allocations: 7.984 kB / 1.465 GB, free: 0.6133 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003577/0.5821, allocations: 1.996 MB / 1.467 GB, free: 14.56 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5821, allocations: 3.938 kB / 1.467 GB, free: 14.56 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/0.5827, allocations: 155.8 kB / 1.467 GB, free: 14.41 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004623/0.5832, allocations: 72.78 kB / 1.467 GB, free: 14.33 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/0.5833, allocations: 23.98 kB / 1.467 GB, free: 14.31 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/0.5853, allocations: 1.562 MB / 1.468 GB, free: 12.63 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5853, allocations: 0 / 1.468 GB, free: 12.63 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.5876, allocations: 1.026 MB / 1.469 GB, free: 11.58 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005099/0.5881, allocations: 203.1 kB / 1.47 GB, free: 11.38 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.5882, allocations: 19.94 kB / 1.47 GB, free: 11.36 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006912/0.5889, allocations: 74.11 kB / 1.47 GB, free: 11.29 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.589, allocations: 72.86 kB / 1.47 GB, free: 11.22 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.317e-05/0.5891, allocations: 39.92 kB / 1.47 GB, free: 11.18 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006725/0.5898, allocations: 487 kB / 1.47 GB, free: 10.71 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5898, allocations: 0 / 1.47 GB, free: 10.71 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009335/0.5907, allocations: 339.1 kB / 1.471 GB, free: 10.38 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: 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 (94): * Single equations (assignments): 88 * 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.004282/0.595, allocations: 2.083 MB / 1.473 GB, free: 8.457 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00183/0.5968, allocations: 0.7923 MB / 1.473 GB, free: 7.652 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5968, allocations: 0 / 1.473 GB, free: 7.652 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.5979, allocations: 0.5041 MB / 1.474 GB, free: 7.137 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.5993, allocations: 303.8 kB / 1.474 GB, free: 6.859 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/0.6111, allocations: 6.514 MB / 1.481 GB, free: 192 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007856/0.6119, allocations: 1.047 MB / 1.482 GB, free: 15.11 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009383/0.6129, allocations: 283 kB / 1.482 GB, free: 14.83 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006194/0.6135, allocations: 415.1 kB / 1.482 GB, free: 14.42 MB / 1.186 GB Notification: Performance of SimCode: time 9.02e-07/0.6135, allocations: 0 / 1.482 GB, free: 14.42 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07308/0.6866, allocations: 23.22 MB / 1.505 GB, free: 7.461 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.38, allocations: 8.062 kB / 1.505 GB, free: 7.453 MB / 1.201 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv --start-time 0 --stop-time 864000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.26274794500023]