Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001819/0.001819, allocations: 109.6 kB / 16.45 MB, free: 6.508 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.002214/0.002214, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.416/1.416, allocations: 230.6 MB / 252.8 MB, free: 9.102 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.07/3.07, allocations: 0.505 GB / 0.8066 GB, free: 23.02 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_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.002152/0.002152, allocations: 68.2 kB / 1.172 GB, free: 17.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3326, allocations: 180.2 MB / 1.348 GB, free: 9.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007053/0.3396, allocations: 5.191 MB / 1.353 GB, free: 4.734 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1775/0.5171, allocations: 154 MB / 1.503 GB, free: 10.12 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009161/0.518, allocations: 23.81 kB / 1.503 GB, free: 10.09 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008403/0.5189, allocations: 210.1 kB / 1.503 GB, free: 9.887 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.5211, allocations: 0.5879 MB / 1.504 GB, free: 9.301 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.5235, allocations: 0.8547 MB / 1.505 GB, free: 8.449 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002131/0.5256, allocations: 1.467 MB / 1.506 GB, free: 6.973 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.5266, allocations: 480 kB / 1.507 GB, free: 6.477 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009292/0.5275, allocations: 0.5373 MB / 1.507 GB, free: 5.938 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009193/0.5285, allocations: 0.5601 MB / 1.508 GB, free: 5.375 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002824/0.5288, allocations: 128 kB / 1.508 GB, free: 5.25 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.5299, allocations: 0.5113 MB / 1.508 GB, free: 4.738 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003988/0.5303, allocations: 323 kB / 1.509 GB, free: 4.422 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006533/0.5309, allocations: 0.6141 MB / 1.509 GB, free: 3.805 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.5332, allocations: 1.79 MB / 1.511 GB, free: 2.008 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5333, allocations: 0 / 1.511 GB, free: 2.008 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5333, allocations: 0 / 1.511 GB, free: 2.008 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.957e-05/0.5333, allocations: 3.938 kB / 1.511 GB, free: 2.004 MB / 1.201 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.002678/0.536, allocations: 1.564 MB / 1.513 GB, free: 396 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.536, allocations: 11.98 kB / 1.513 GB, free: 384 kB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/0.5362, allocations: 148.1 kB / 1.513 GB, free: 228 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001824/0.538, allocations: 283.9 kB / 1.513 GB, free: 15.94 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.5393, allocations: 0.8056 MB / 1.514 GB, free: 15.1 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.494e-05/0.5393, allocations: 74 kB / 1.514 GB, free: 15.02 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.5394, allocations: 88 kB / 1.514 GB, free: 14.94 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.5412, allocations: 1.011 MB / 1.515 GB, free: 13.89 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.5412, allocations: 0 / 1.515 GB, free: 13.89 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.794e-05/0.5413, allocations: 36 kB / 1.515 GB, free: 13.86 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.5413, allocations: 27.94 kB / 1.515 GB, free: 13.83 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.5433, allocations: 1.182 MB / 1.516 GB, free: 12.64 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004409/0.5477, allocations: 2.978 MB / 1.519 GB, free: 9.516 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.5501, allocations: 0.9146 MB / 1.52 GB, free: 8.574 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000625/0.5507, allocations: 294.7 kB / 1.52 GB, free: 8.281 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 7.658e-05/0.5508, allocations: 28.61 kB / 1.52 GB, free: 8.254 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009267/0.5517, allocations: 0.4969 MB / 1.521 GB, free: 7.738 MB / 1.217 GB Notification: Performance of pre-optimization done (n=82): time 2.265e-06/0.5517, allocations: 0 / 1.521 GB, free: 7.738 MB / 1.217 GB Notification: Performance of matching and sorting (n=82): time 0.003394/0.5551, allocations: 1.245 MB / 1.522 GB, free: 6.469 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.5552, allocations: 192.6 kB / 1.522 GB, free: 6.238 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009398/0.5562, allocations: 0.6645 MB / 1.523 GB, free: 5.566 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.19e-05/0.5562, allocations: 45.7 kB / 1.523 GB, free: 5.516 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/0.5566, allocations: 441 kB / 1.523 GB, free: 5.078 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/0.5569, allocations: 269.7 kB / 1.524 GB, free: 4.812 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.5571, allocations: 154.6 kB / 1.524 GB, free: 4.656 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.5573, allocations: 394.7 kB / 1.524 GB, free: 4.262 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005457/0.5578, allocations: 253.9 kB / 1.524 GB, free: 4.012 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006609/0.5585, allocations: 366.5 kB / 1.525 GB, free: 3.633 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.5597, allocations: 0.5994 MB / 1.525 GB, free: 3.023 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5597, allocations: 4 kB / 1.525 GB, free: 3.02 MB / 1.217 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001994/0.5617, allocations: 0.8334 MB / 1.526 GB, free: 2.172 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.5617, allocations: 4 kB / 1.526 GB, free: 2.168 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.5617, allocations: 0 / 1.526 GB, free: 2.168 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005857/0.5623, allocations: 84.86 kB / 1.526 GB, free: 2.082 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007126/0.563, allocations: 159.8 kB / 1.526 GB, free: 1.926 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.5652, allocations: 1.637 MB / 1.528 GB, free: 152 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006633/0.5659, allocations: 91.41 kB / 1.528 GB, free: 60 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.917e-05/0.5659, allocations: 40.03 kB / 1.528 GB, free: 20 kB / 1.217 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.0004359/0.5664, allocations: 269.6 kB / 1.528 GB, free: 15.75 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.5666, allocations: 87.44 kB / 1.528 GB, free: 15.66 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.5691, allocations: 1.101 MB / 1.529 GB, free: 14.54 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.5691, allocations: 11.98 kB / 1.529 GB, free: 14.53 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5691, allocations: 7.938 kB / 1.529 GB, free: 14.52 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.5691, allocations: 3.984 kB / 1.529 GB, free: 14.52 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003514/0.5726, allocations: 2.017 MB / 1.531 GB, free: 12.44 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5726, allocations: 0 / 1.531 GB, free: 12.44 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006164/0.5732, allocations: 151.8 kB / 1.532 GB, free: 12.29 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004334/0.5737, allocations: 72.78 kB / 1.532 GB, free: 12.22 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.027e-05/0.5737, allocations: 27.98 kB / 1.532 GB, free: 12.19 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/0.5758, allocations: 1.67 MB / 1.533 GB, free: 10.38 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5758, allocations: 0 / 1.533 GB, free: 10.38 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/0.578, allocations: 1.022 MB / 1.534 GB, free: 9.332 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004093/0.5784, allocations: 288.1 kB / 1.535 GB, free: 9.031 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.5786, allocations: 19.98 kB / 1.535 GB, free: 9.012 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007062/0.5793, allocations: 70.06 kB / 1.535 GB, free: 8.945 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.5794, allocations: 76.89 kB / 1.535 GB, free: 8.871 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.432e-05/0.5795, allocations: 31.92 kB / 1.535 GB, free: 8.84 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006781/0.5802, allocations: 487 kB / 1.535 GB, free: 8.371 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5802, allocations: 4 kB / 1.535 GB, free: 8.367 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009366/0.5811, allocations: 347 kB / 1.536 GB, free: 8.027 MB / 1.232 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.004317/0.5854, allocations: 2.075 MB / 1.538 GB, free: 6.102 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001857/0.5873, allocations: 0.7921 MB / 1.538 GB, free: 5.301 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5873, allocations: 0 / 1.538 GB, free: 5.301 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.5883, allocations: 0.5004 MB / 1.539 GB, free: 4.789 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.5897, allocations: 302.8 kB / 1.539 GB, free: 4.516 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.6017, allocations: 6.53 MB / 1.546 GB, free: 13.83 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007664/0.6025, allocations: 1.047 MB / 1.547 GB, free: 12.75 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008828/0.6034, allocations: 271.1 kB / 1.547 GB, free: 12.48 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006194/0.604, allocations: 412.5 kB / 1.547 GB, free: 12.08 MB / 1.248 GB Notification: Performance of SimCode: time 6.01e-07/0.604, allocations: 7.938 kB / 1.547 GB, free: 12.07 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06121/0.6652, allocations: 22.67 MB / 1.569 GB, free: 5.738 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.93, allocations: 8.047 kB / 1.569 GB, free: 5.73 MB / 1.264 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv --start-time 0 --stop-time 864000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.632110557053238]