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.001427/0.001427, 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.002074/0.002074, allocations: 209.8 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.785 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.269/3.269, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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="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.002096/0.002096, allocations: 69.53 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.353, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007731/0.3608, allocations: 4.647 MB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1697/0.5305, allocations: 132.7 MB / 1.498 GB, free: 4.203 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008737/0.5313, allocations: 23.81 kB / 1.498 GB, free: 4.18 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.000624/0.532, allocations: 210.1 kB / 1.498 GB, free: 3.973 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.5338, allocations: 0.5929 MB / 1.498 GB, free: 3.379 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.5359, allocations: 0.8757 MB / 1.499 GB, free: 2.512 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001752/0.5377, allocations: 1.46 MB / 1.501 GB, free: 1.047 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008888/0.5386, allocations: 448.6 kB / 1.501 GB, free: 0.5859 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008579/0.5394, allocations: 0.545 MB / 1.502 GB, free: 40 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008101/0.5402, allocations: 0.4939 MB / 1.502 GB, free: 15.54 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000281/0.5405, allocations: 128 kB / 1.502 GB, free: 15.41 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.5416, allocations: 499.5 kB / 1.503 GB, free: 14.93 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003847/0.542, allocations: 330.9 kB / 1.503 GB, free: 14.61 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006087/0.5426, allocations: 0.4976 MB / 1.503 GB, free: 14.11 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.5448, allocations: 1.802 MB / 1.505 GB, free: 12.3 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5448, allocations: 0 / 1.505 GB, free: 12.3 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5448, allocations: 0 / 1.505 GB, free: 12.3 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.5448, allocations: 0 / 1.505 GB, free: 12.3 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.002651/0.5475, allocations: 1.489 MB / 1.507 GB, free: 10.77 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5475, allocations: 8.031 kB / 1.507 GB, free: 10.76 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001835/0.5477, allocations: 148.1 kB / 1.507 GB, free: 10.61 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.5495, allocations: 279.9 kB / 1.507 GB, free: 10.34 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.5509, allocations: 0.7336 MB / 1.508 GB, free: 9.578 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.365e-05/0.5509, allocations: 70 kB / 1.508 GB, free: 9.508 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.5511, allocations: 92 kB / 1.508 GB, free: 9.418 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.553, allocations: 1.258 MB / 1.509 GB, free: 8.062 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.553, allocations: 0 / 1.509 GB, free: 8.062 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.5531, allocations: 43.98 kB / 1.509 GB, free: 8.02 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.5531, allocations: 24 kB / 1.509 GB, free: 7.996 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.5552, allocations: 1.132 MB / 1.51 GB, free: 6.863 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004255/0.5594, allocations: 2.321 MB / 1.513 GB, free: 4.48 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/0.5619, allocations: 0.8481 MB / 1.513 GB, free: 3.625 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006041/0.5625, allocations: 282.7 kB / 1.514 GB, free: 3.344 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-05/0.5626, allocations: 36.56 kB / 1.514 GB, free: 3.309 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.5636, allocations: 0.5974 MB / 1.514 GB, free: 2.672 MB / 1.201 GB Notification: Performance of pre-optimization done (n=82): time 2.244e-06/0.5636, allocations: 0 / 1.514 GB, free: 2.672 MB / 1.201 GB Notification: Performance of matching and sorting (n=82): time 0.003437/0.5671, allocations: 1.162 MB / 1.515 GB, free: 1.5 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.5672, allocations: 188.6 kB / 1.516 GB, free: 1.273 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009631/0.5682, allocations: 0.6646 MB / 1.516 GB, free: 0.5977 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.44e-05/0.5682, allocations: 45.7 kB / 1.516 GB, free: 0.5469 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004128/0.5687, allocations: 441 kB / 1.517 GB, free: 112 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/0.5689, allocations: 281.8 kB / 1.517 GB, free: 15.83 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/0.5692, allocations: 154.6 kB / 1.517 GB, free: 15.67 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000219/0.5694, allocations: 382.8 kB / 1.518 GB, free: 15.29 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005941/0.57, allocations: 257.9 kB / 1.518 GB, free: 15.04 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008041/0.5708, allocations: 499 kB / 1.518 GB, free: 14.5 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.5721, allocations: 0.5956 MB / 1.519 GB, free: 13.89 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5721, allocations: 3.938 kB / 1.519 GB, free: 13.89 MB / 1.217 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002146/0.5742, allocations: 0.8372 MB / 1.52 GB, free: 13.04 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.5742, allocations: 8 kB / 1.52 GB, free: 13.03 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.5742, allocations: 0 / 1.52 GB, free: 13.03 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/0.5749, allocations: 84.83 kB / 1.52 GB, free: 12.95 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/0.5755, allocations: 159.8 kB / 1.52 GB, free: 12.79 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.5778, allocations: 1.523 MB / 1.521 GB, free: 11.15 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007238/0.5785, allocations: 93.66 kB / 1.521 GB, free: 11.06 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.037e-05/0.5786, allocations: 36.03 kB / 1.522 GB, free: 11.02 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.0004639/0.579, allocations: 270.3 kB / 1.522 GB, free: 10.75 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.5792, allocations: 87.44 kB / 1.522 GB, free: 10.66 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/0.5818, allocations: 1.101 MB / 1.523 GB, free: 9.551 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.5818, allocations: 12 kB / 1.523 GB, free: 9.539 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.5818, allocations: 0 / 1.523 GB, free: 9.539 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.5818, allocations: 7.969 kB / 1.523 GB, free: 9.531 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003559/0.5854, allocations: 1.868 MB / 1.525 GB, free: 7.609 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.5854, allocations: 4 kB / 1.525 GB, free: 7.605 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006306/0.586, allocations: 147.8 kB / 1.525 GB, free: 7.461 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004525/0.5865, allocations: 68.78 kB / 1.525 GB, free: 7.391 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.203e-05/0.5865, allocations: 31.98 kB / 1.525 GB, free: 7.359 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.5885, allocations: 1.551 MB / 1.527 GB, free: 5.688 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5885, allocations: 0 / 1.527 GB, free: 5.688 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.5908, allocations: 1.03 MB / 1.528 GB, free: 4.637 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005103/0.5914, allocations: 215 kB / 1.528 GB, free: 4.426 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.5915, allocations: 16 kB / 1.528 GB, free: 4.41 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007043/0.5922, allocations: 63.92 kB / 1.528 GB, free: 4.348 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.5924, allocations: 84.8 kB / 1.528 GB, free: 4.266 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.666e-05/0.5924, allocations: 31.98 kB / 1.528 GB, free: 4.234 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006908/0.5931, allocations: 491 kB / 1.528 GB, free: 3.762 MB / 1.217 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5931, allocations: 0 / 1.528 GB, free: 3.762 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009147/0.594, allocations: 339.1 kB / 1.529 GB, free: 3.43 MB / 1.217 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.004606/0.5986, allocations: 2.119 MB / 1.531 GB, free: 1.484 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001904/0.6005, allocations: 0.7921 MB / 1.532 GB, free: 0.6836 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6005, allocations: 0 / 1.532 GB, free: 0.6836 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.6016, allocations: 0.5043 MB / 1.532 GB, free: 172 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.603, allocations: 305.2 kB / 1.532 GB, free: 15.89 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.6148, allocations: 6.53 MB / 1.539 GB, free: 9.211 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.6153, allocations: 457.7 kB / 1.539 GB, free: 8.734 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009265/0.6162, allocations: 283 kB / 1.539 GB, free: 8.453 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006476/0.6169, allocations: 411.3 kB / 1.54 GB, free: 8.051 MB / 1.232 GB Notification: Performance of SimCode: time 9.52e-07/0.6169, allocations: 0 / 1.54 GB, free: 8.051 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06678/0.6837, allocations: 24.28 MB / 1.564 GB, free: 104 kB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.35, allocations: 0 / 1.564 GB, free: 104 kB / 1.248 GB " [Timeout remaining time 285] (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: 21.294766534119844]