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.001867/0.001867, 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.002029/0.002029, allocations: 214.6 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.789 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.167/3.167, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] 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.002201/0.002201, allocations: 66 kB / 1.153 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3631, allocations: 176.1 MB / 1.325 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.008242/0.3713, allocations: 4.657 MB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1749/0.5462, allocations: 132.7 MB / 1.459 GB, free: 8.496 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008946/0.5471, allocations: 23.81 kB / 1.459 GB, free: 8.473 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008706/0.548, allocations: 206.1 kB / 1.459 GB, free: 8.27 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002376/0.5504, allocations: 0.5878 MB / 1.46 GB, free: 7.684 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.5527, allocations: 0.8677 MB / 1.461 GB, free: 6.82 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002024/0.5547, allocations: 1.464 MB / 1.462 GB, free: 5.352 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009796/0.5557, allocations: 456.5 kB / 1.463 GB, free: 4.879 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009447/0.5566, allocations: 0.5411 MB / 1.463 GB, free: 4.336 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009465/0.5576, allocations: 0.4976 MB / 1.464 GB, free: 3.836 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003188/0.5579, allocations: 128 kB / 1.464 GB, free: 3.711 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.5592, allocations: 0.4918 MB / 1.464 GB, free: 3.219 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004294/0.5596, allocations: 327 kB / 1.465 GB, free: 2.898 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007407/0.5603, allocations: 0.4937 MB / 1.465 GB, free: 2.402 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002719/0.5631, allocations: 1.802 MB / 1.467 GB, free: 0.5938 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.5631, allocations: 0 / 1.467 GB, free: 0.5938 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5631, allocations: 0 / 1.467 GB, free: 0.5938 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.847e-05/0.5631, allocations: 0 / 1.467 GB, free: 0.5938 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.003452/0.5666, allocations: 1.492 MB / 1.468 GB, free: 15.06 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.5666, allocations: 8.031 kB / 1.468 GB, free: 15.05 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002377/0.5668, allocations: 148.1 kB / 1.468 GB, free: 14.9 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.5688, allocations: 283.9 kB / 1.469 GB, free: 14.62 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.5702, allocations: 0.7276 MB / 1.469 GB, free: 13.88 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.497e-05/0.5703, allocations: 77.98 kB / 1.47 GB, free: 13.8 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.5704, allocations: 88 kB / 1.47 GB, free: 13.71 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/0.5725, allocations: 1.258 MB / 1.471 GB, free: 12.36 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.5725, allocations: 0 / 1.471 GB, free: 12.36 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.075e-05/0.5726, allocations: 44 kB / 1.471 GB, free: 12.31 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.5726, allocations: 24 kB / 1.471 GB, free: 12.29 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.5748, allocations: 1.132 MB / 1.472 GB, free: 11.15 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004524/0.5793, allocations: 2.317 MB / 1.474 GB, free: 8.773 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002482/0.5818, allocations: 0.8454 MB / 1.475 GB, free: 7.918 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000611/0.5824, allocations: 290.7 kB / 1.475 GB, free: 7.629 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.47e-05/0.5825, allocations: 28.62 kB / 1.475 GB, free: 7.602 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.5835, allocations: 0.6012 MB / 1.476 GB, free: 6.961 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.845e-06/0.5835, allocations: 0 / 1.476 GB, free: 6.961 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.00348/0.587, allocations: 1.158 MB / 1.477 GB, free: 5.793 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.5871, allocations: 188.6 kB / 1.477 GB, free: 5.566 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.5881, allocations: 0.6685 MB / 1.478 GB, free: 4.891 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.08e-05/0.5882, allocations: 41.7 kB / 1.478 GB, free: 4.844 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/0.5886, allocations: 441 kB / 1.478 GB, free: 4.406 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002727/0.5889, allocations: 285.5 kB / 1.479 GB, free: 4.125 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.5891, allocations: 146.6 kB / 1.479 GB, free: 3.977 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.5893, allocations: 398.6 kB / 1.479 GB, free: 3.578 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005963/0.5899, allocations: 257.9 kB / 1.479 GB, free: 3.324 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007792/0.5907, allocations: 495.1 kB / 1.48 GB, free: 2.785 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.592, allocations: 0.5994 MB / 1.481 GB, free: 2.176 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.592, allocations: 0 / 1.481 GB, free: 2.176 MB / 1.17 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002166/0.5942, allocations: 0.8335 MB / 1.481 GB, free: 1.332 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.5942, allocations: 8 kB / 1.481 GB, free: 1.324 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5942, allocations: 0 / 1.481 GB, free: 1.324 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000609/0.5948, allocations: 84.86 kB / 1.481 GB, free: 1.238 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006687/0.5955, allocations: 151.8 kB / 1.482 GB, free: 1.09 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/0.5978, allocations: 1.531 MB / 1.483 GB, free: 15.44 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007433/0.5985, allocations: 87.47 kB / 1.483 GB, free: 15.35 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.228e-05/0.5986, allocations: 40.03 kB / 1.483 GB, free: 15.31 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.0004965/0.5991, allocations: 269.6 kB / 1.483 GB, free: 15.04 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/0.5993, allocations: 91.38 kB / 1.484 GB, free: 14.95 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/0.602, allocations: 1.093 MB / 1.485 GB, free: 13.84 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.602, allocations: 12 kB / 1.485 GB, free: 13.83 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.602, allocations: 3.984 kB / 1.485 GB, free: 13.82 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.602, allocations: 3.984 kB / 1.485 GB, free: 13.82 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00378/0.6058, allocations: 1.872 MB / 1.486 GB, free: 11.9 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6058, allocations: 0 / 1.486 GB, free: 11.9 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006499/0.6065, allocations: 147.8 kB / 1.487 GB, free: 11.75 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004693/0.6069, allocations: 76.78 kB / 1.487 GB, free: 11.68 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-05/0.607, allocations: 27.98 kB / 1.487 GB, free: 11.65 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/0.6092, allocations: 1.543 MB / 1.488 GB, free: 9.984 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.6092, allocations: 3.938 kB / 1.488 GB, free: 9.98 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/0.6115, allocations: 1.026 MB / 1.489 GB, free: 8.934 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005732/0.6121, allocations: 215 kB / 1.489 GB, free: 8.723 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.6123, allocations: 23.98 kB / 1.489 GB, free: 8.699 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007737/0.6131, allocations: 65.34 kB / 1.49 GB, free: 8.637 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.6133, allocations: 76.84 kB / 1.49 GB, free: 8.562 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.404e-05/0.6133, allocations: 35.98 kB / 1.49 GB, free: 8.527 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007517/0.6141, allocations: 487 kB / 1.49 GB, free: 8.059 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.6141, allocations: 0 / 1.49 GB, free: 8.059 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009845/0.6151, 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.004662/0.6197, allocations: 2.131 MB / 1.492 GB, free: 5.777 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001917/0.6217, allocations: 0.7883 MB / 1.493 GB, free: 4.977 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.535e-06/0.6217, allocations: 4 kB / 1.493 GB, free: 4.973 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.6227, allocations: 0.5081 MB / 1.494 GB, free: 4.453 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.6241, allocations: 302.8 kB / 1.494 GB, free: 4.176 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/0.6362, allocations: 6.531 MB / 1.5 GB, free: 13.49 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005852/0.6367, allocations: 457.7 kB / 1.501 GB, free: 13.02 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009151/0.6377, allocations: 275.1 kB / 1.501 GB, free: 12.74 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006647/0.6383, allocations: 415.3 kB / 1.502 GB, free: 12.34 MB / 1.201 GB Notification: Performance of SimCode: time 6.91e-07/0.6383, allocations: 0 / 1.502 GB, free: 12.34 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08093/0.7193, allocations: 24.28 MB / 1.525 GB, free: 4.375 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.53, allocations: 11.5 kB / 1.525 GB, free: 4.367 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 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.mat","/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: 21.418806552886963]