Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001837/0.001837, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002255/0.002255, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.611/1.611, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.314/3.314, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_12_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.002163/0.002163, allocations: 67.69 kB / 1.153 GB, free: 25.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3159, allocations: 176.1 MB / 1.325 GB, free: 2.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00713/0.323, allocations: 4.652 MB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1684/0.4914, allocations: 132.7 MB / 1.459 GB, free: 8.512 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007921/0.4922, allocations: 27.81 kB / 1.459 GB, free: 8.484 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005767/0.4928, allocations: 214.1 kB / 1.459 GB, free: 8.273 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.4945, allocations: 0.5894 MB / 1.46 GB, free: 7.684 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.4964, allocations: 0.8724 MB / 1.461 GB, free: 6.816 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001639/0.4981, allocations: 1.456 MB / 1.462 GB, free: 5.355 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008332/0.4989, allocations: 448.5 kB / 1.463 GB, free: 4.891 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008686/0.4998, allocations: 0.5373 MB / 1.463 GB, free: 4.352 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006489/0.5004, allocations: 0.4995 MB / 1.464 GB, free: 3.852 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.5006, allocations: 128 kB / 1.464 GB, free: 3.727 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.5016, allocations: 0.4918 MB / 1.464 GB, free: 3.234 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003067/0.502, allocations: 326.9 kB / 1.465 GB, free: 2.914 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004714/0.5024, allocations: 0.4938 MB / 1.465 GB, free: 2.418 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.5045, allocations: 1.802 MB / 1.467 GB, free: 0.6094 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5045, allocations: 0 / 1.467 GB, free: 0.6094 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5045, allocations: 0 / 1.467 GB, free: 0.6094 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.322e-05/0.5045, allocations: 0 / 1.467 GB, free: 0.6094 MB / 1.154 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.002771/0.5073, allocations: 1.493 MB / 1.468 GB, free: 15.08 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.5073, allocations: 8.031 kB / 1.468 GB, free: 15.07 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001774/0.5075, allocations: 152.1 kB / 1.468 GB, free: 14.91 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/0.5093, allocations: 283.9 kB / 1.469 GB, free: 14.64 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.5105, allocations: 0.7368 MB / 1.469 GB, free: 13.88 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.014e-05/0.5106, allocations: 74 kB / 1.47 GB, free: 13.8 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.5107, allocations: 88 kB / 1.47 GB, free: 13.71 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.5126, allocations: 1.258 MB / 1.471 GB, free: 12.36 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.5126, allocations: 4 kB / 1.471 GB, free: 12.36 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.738e-05/0.5127, allocations: 47.92 kB / 1.471 GB, free: 12.31 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.5127, allocations: 24 kB / 1.471 GB, free: 12.29 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.5147, allocations: 1.124 MB / 1.472 GB, free: 11.16 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004244/0.5189, allocations: 2.306 MB / 1.474 GB, free: 8.789 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002364/0.5213, allocations: 0.8579 MB / 1.475 GB, free: 7.922 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005865/0.5219, allocations: 282.7 kB / 1.475 GB, free: 7.641 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.289e-05/0.5219, allocations: 24.62 kB / 1.475 GB, free: 7.617 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009882/0.5229, allocations: 0.6038 MB / 1.476 GB, free: 6.973 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.535e-06/0.5229, allocations: 3.938 kB / 1.476 GB, free: 6.969 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003332/0.5263, allocations: 1.162 MB / 1.477 GB, free: 5.797 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.5264, allocations: 188.6 kB / 1.477 GB, free: 5.57 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008918/0.5273, allocations: 0.6646 MB / 1.478 GB, free: 4.898 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.743e-05/0.5274, allocations: 41.7 kB / 1.478 GB, free: 4.852 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.5278, allocations: 441 kB / 1.478 GB, free: 4.414 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/0.528, allocations: 285.6 kB / 1.479 GB, free: 4.133 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.5282, allocations: 150.6 kB / 1.479 GB, free: 3.98 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.5284, allocations: 386.8 kB / 1.479 GB, free: 3.594 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.529, allocations: 257.9 kB / 1.479 GB, free: 3.34 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007248/0.5297, allocations: 0.4912 MB / 1.48 GB, free: 2.793 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.5309, allocations: 0.5994 MB / 1.481 GB, free: 2.184 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.5309, allocations: 0 / 1.481 GB, free: 2.184 MB / 1.17 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002112/0.533, allocations: 0.8296 MB / 1.481 GB, free: 1.344 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.533, allocations: 8 kB / 1.481 GB, free: 1.336 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.533, allocations: 0 / 1.481 GB, free: 1.336 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006067/0.5336, allocations: 88.8 kB / 1.481 GB, free: 1.246 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006605/0.5343, allocations: 155.8 kB / 1.482 GB, free: 1.094 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.5367, allocations: 1.525 MB / 1.483 GB, free: 15.45 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007655/0.5374, allocations: 93.03 kB / 1.483 GB, free: 15.36 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.588e-05/0.5375, allocations: 35.97 kB / 1.483 GB, free: 15.32 MB / 1.186 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.0005989/0.5381, allocations: 265.9 kB / 1.483 GB, free: 15.05 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.5383, allocations: 87.44 kB / 1.484 GB, free: 14.97 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/0.5409, allocations: 1.109 MB / 1.485 GB, free: 13.84 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.5409, allocations: 12 kB / 1.485 GB, free: 13.83 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5409, allocations: 0 / 1.485 GB, free: 13.83 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.5409, allocations: 3.984 kB / 1.485 GB, free: 13.83 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00359/0.5445, allocations: 1.864 MB / 1.486 GB, free: 11.91 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5445, allocations: 0 / 1.486 GB, free: 11.91 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006067/0.5451, allocations: 151.7 kB / 1.487 GB, free: 11.77 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004287/0.5456, allocations: 76.78 kB / 1.487 GB, free: 11.69 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/0.5456, allocations: 27.92 kB / 1.487 GB, free: 11.66 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/0.5476, allocations: 1.551 MB / 1.488 GB, free: 9.988 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5476, allocations: 0 / 1.488 GB, free: 9.988 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/0.5498, allocations: 1.034 MB / 1.489 GB, free: 8.934 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004793/0.5502, allocations: 211 kB / 1.489 GB, free: 8.727 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.5504, allocations: 23.95 kB / 1.489 GB, free: 8.703 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006849/0.5511, allocations: 67.92 kB / 1.49 GB, free: 8.637 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.5512, allocations: 76.8 kB / 1.49 GB, free: 8.562 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.265e-05/0.5513, allocations: 35.98 kB / 1.49 GB, free: 8.527 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006297/0.5519, allocations: 487 kB / 1.49 GB, free: 8.059 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5519, allocations: 0 / 1.49 GB, free: 8.059 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008849/0.5528, allocations: 339.1 kB / 1.49 GB, free: 7.727 MB / 1.186 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.00441/0.5572, allocations: 2.124 MB / 1.492 GB, free: 5.785 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.5591, allocations: 0.7923 MB / 1.493 GB, free: 4.98 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5591, allocations: 4 kB / 1.493 GB, free: 4.977 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009838/0.56, allocations: 0.5002 MB / 1.494 GB, free: 4.465 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.5614, allocations: 308.3 kB / 1.494 GB, free: 4.184 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.5725, allocations: 6.515 MB / 1.5 GB, free: 13.51 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000537/0.573, allocations: 463.1 kB / 1.501 GB, free: 13.03 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000932/0.574, allocations: 283 kB / 1.501 GB, free: 12.75 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006625/0.5746, allocations: 411.3 kB / 1.502 GB, free: 12.35 MB / 1.201 GB Notification: Performance of SimCode: time 8.31e-07/0.5746, allocations: 0 / 1.502 GB, free: 12.35 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06584/0.6405, allocations: 24.28 MB / 1.525 GB, free: 4.387 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/14.67, allocations: 11.98 kB / 1.525 GB, free: 4.375 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 22.08622312359512]