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.001747/0.001747, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001526/0.001526, allocations: 218.1 kB / 23.04 MB, free: 5.078 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 8 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.166/3.166, allocations: 0.5003 GB / 0.8061 GB, free: 26.81 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="cs",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.002205/0.002205, allocations: 62.42 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3558, allocations: 179 MB / 1.345 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007724/0.3635, allocations: 5.229 MB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1878/0.5513, allocations: 154.2 MB / 1.501 GB, free: 500 kB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009851/0.5523, allocations: 23.81 kB / 1.501 GB, free: 476 kB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008664/0.5532, allocations: 206.1 kB / 1.501 GB, free: 268 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.5554, allocations: 0.5839 MB / 1.502 GB, free: 15.68 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002401/0.5578, allocations: 0.8827 MB / 1.503 GB, free: 14.8 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002185/0.56, allocations: 1.471 MB / 1.504 GB, free: 13.32 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.561, allocations: 464.6 kB / 1.505 GB, free: 12.85 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.562, allocations: 0.5411 MB / 1.505 GB, free: 12.3 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000987/0.563, allocations: 0.5562 MB / 1.506 GB, free: 11.75 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003141/0.5633, allocations: 128 kB / 1.506 GB, free: 11.62 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.5647, allocations: 0.523 MB / 1.506 GB, free: 11.1 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004384/0.5651, allocations: 323 kB / 1.507 GB, free: 10.78 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008657/0.566, allocations: 0.6141 MB / 1.507 GB, free: 10.16 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002902/0.5689, allocations: 1.79 MB / 1.509 GB, free: 8.367 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5689, allocations: 0 / 1.509 GB, free: 8.367 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5689, allocations: 0 / 1.509 GB, free: 8.367 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.236e-05/0.5689, allocations: 0 / 1.509 GB, free: 8.367 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.003623/0.5726, allocations: 1.493 MB / 1.51 GB, free: 6.836 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.5726, allocations: 12.03 kB / 1.51 GB, free: 6.824 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.631e-05/0.5726, allocations: 30.12 kB / 1.51 GB, free: 6.797 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002389/0.5729, allocations: 152.1 kB / 1.511 GB, free: 6.641 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.5749, allocations: 279.9 kB / 1.511 GB, free: 6.367 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.5765, allocations: 0.7256 MB / 1.511 GB, free: 5.613 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-05/0.5766, allocations: 77.94 kB / 1.512 GB, free: 5.535 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.5767, allocations: 91.94 kB / 1.512 GB, free: 5.445 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.5788, allocations: 1.011 MB / 1.513 GB, free: 4.398 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.5788, allocations: 0 / 1.513 GB, free: 4.398 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.5789, allocations: 40 kB / 1.513 GB, free: 4.359 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/0.5789, allocations: 27.94 kB / 1.513 GB, free: 4.332 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.5811, allocations: 1.175 MB / 1.514 GB, free: 3.156 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00516/0.5863, allocations: 2.926 MB / 1.517 GB, free: 84 kB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/0.5889, allocations: 0.8496 MB / 1.518 GB, free: 15.22 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006374/0.5895, allocations: 286.7 kB / 1.518 GB, free: 14.94 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-05/0.5896, allocations: 36.52 kB / 1.518 GB, free: 14.91 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.5906, allocations: 0.5009 MB / 1.518 GB, free: 14.39 MB / 1.217 GB Notification: Performance of pre-optimization done (n=82): time 3.447e-06/0.5906, allocations: 0 / 1.518 GB, free: 14.39 MB / 1.217 GB Notification: Performance of matching and sorting (n=82): time 0.003516/0.5941, allocations: 1.158 MB / 1.519 GB, free: 13.22 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.5943, allocations: 188.6 kB / 1.52 GB, free: 13 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.5953, allocations: 0.6685 MB / 1.52 GB, free: 12.32 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.331e-05/0.5954, allocations: 41.7 kB / 1.52 GB, free: 12.27 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/0.5959, allocations: 437 kB / 1.521 GB, free: 11.84 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/0.5962, allocations: 285.6 kB / 1.521 GB, free: 11.55 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.5964, allocations: 142.6 kB / 1.521 GB, free: 11.41 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.5966, allocations: 394.7 kB / 1.522 GB, free: 11.02 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006069/0.5972, allocations: 253.9 kB / 1.522 GB, free: 10.77 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007222/0.598, allocations: 374.5 kB / 1.522 GB, free: 10.38 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.5992, allocations: 0.6033 MB / 1.523 GB, free: 9.766 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.5992, allocations: 0 / 1.523 GB, free: 9.766 MB / 1.217 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002224/0.6015, allocations: 0.8257 MB / 1.524 GB, free: 8.926 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.6015, allocations: 8 kB / 1.524 GB, free: 8.918 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.6015, allocations: 0 / 1.524 GB, free: 8.918 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006201/0.6021, allocations: 88.8 kB / 1.524 GB, free: 8.828 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006901/0.6028, allocations: 151.8 kB / 1.524 GB, free: 8.68 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.6051, allocations: 1.538 MB / 1.525 GB, free: 7.023 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008382/0.6059, allocations: 97.41 kB / 1.525 GB, free: 6.93 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.236e-05/0.606, allocations: 31.97 kB / 1.525 GB, free: 6.898 MB / 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.0005642/0.6066, allocations: 265.7 kB / 1.526 GB, free: 6.629 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002578/0.6069, allocations: 87.44 kB / 1.526 GB, free: 6.543 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002756/0.6096, allocations: 1.109 MB / 1.527 GB, free: 5.418 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.6096, allocations: 15.94 kB / 1.527 GB, free: 5.402 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.6096, allocations: 0 / 1.527 GB, free: 5.402 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.6097, allocations: 3.984 kB / 1.527 GB, free: 5.398 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004033/0.6137, allocations: 1.989 MB / 1.529 GB, free: 3.355 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6137, allocations: 0 / 1.529 GB, free: 3.355 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000647/0.6143, allocations: 155.7 kB / 1.529 GB, free: 3.203 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004503/0.6148, allocations: 72.78 kB / 1.529 GB, free: 3.129 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.019e-05/0.6149, allocations: 23.98 kB / 1.529 GB, free: 3.105 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/0.617, allocations: 1.563 MB / 1.531 GB, free: 1.426 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.617, allocations: 0 / 1.531 GB, free: 1.426 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.6194, allocations: 1.022 MB / 1.532 GB, free: 392 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005828/0.62, allocations: 215 kB / 1.532 GB, free: 176 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.6202, allocations: 24 kB / 1.532 GB, free: 152 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007891/0.621, allocations: 63.92 kB / 1.532 GB, free: 88 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.6211, allocations: 76.8 kB / 1.532 GB, free: 12 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.6213, allocations: 39.92 kB / 1.532 GB, free: 15.97 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007632/0.622, allocations: 487 kB / 1.532 GB, free: 15.5 MB / 1.232 GB Notification: Performance of sort global known variables: time 9.1e-08/0.622, allocations: 4 kB / 1.532 GB, free: 15.5 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001071/0.6231, allocations: 339.1 kB / 1.533 GB, free: 15.17 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.004679/0.6278, allocations: 2.08 MB / 1.535 GB, free: 13.23 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001974/0.6298, allocations: 0.7921 MB / 1.536 GB, free: 12.43 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.6298, allocations: 4 kB / 1.536 GB, free: 12.43 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.6308, allocations: 0.5003 MB / 1.536 GB, free: 11.92 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.6323, allocations: 314.5 kB / 1.536 GB, free: 11.63 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.645, allocations: 6.513 MB / 1.543 GB, free: 4.961 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000836/0.6459, allocations: 1.051 MB / 1.544 GB, free: 3.879 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009608/0.6468, allocations: 275 kB / 1.544 GB, free: 3.605 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007132/0.6475, allocations: 419.2 kB / 1.544 GB, free: 3.199 MB / 1.232 GB Notification: Performance of SimCode: time 8.52e-07/0.6475, allocations: 0 / 1.544 GB, free: 3.199 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06451/0.7121, allocations: 23.26 MB / 1.567 GB, free: 12.19 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.23, allocations: 8 kB / 1.567 GB, free: 12.18 MB / 1.264 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=800 --tolerance=1e-06 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.mat","/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: 22.234629487036727]