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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 107.2 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002146/0.002146, allocations: 196.6 kB / 19.41 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.017/3.017, allocations: 497.2 MB / 0.7811 GB, free: 33.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 70.81 kB / 1.134 GB, free: 33.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3213, allocations: 173.9 MB / 1.304 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007294/0.3286, allocations: 5.144 MB / 1.309 GB, free: 12.37 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1757/0.5043, allocations: 151.1 MB / 1.457 GB, free: 4.668 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007886/0.5051, allocations: 15.94 kB / 1.457 GB, free: 4.652 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006403/0.5057, allocations: 202.1 kB / 1.457 GB, free: 4.453 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.5075, allocations: 0.5667 MB / 1.457 GB, free: 3.887 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.5095, allocations: 0.8547 MB / 1.458 GB, free: 3.039 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001719/0.5112, allocations: 1.452 MB / 1.46 GB, free: 1.582 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008044/0.512, allocations: 476.4 kB / 1.46 GB, free: 1.09 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007109/0.5127, allocations: 0.51 MB / 1.461 GB, free: 0.5781 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00069/0.5134, allocations: 0.5462 MB / 1.461 GB, free: 32 kB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.5136, allocations: 132 kB / 1.461 GB, free: 15.9 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009281/0.5145, allocations: 499.5 kB / 1.462 GB, free: 15.41 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003166/0.5148, allocations: 315 kB / 1.462 GB, free: 15.11 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005926/0.5154, allocations: 0.6064 MB / 1.463 GB, free: 14.5 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.5176, allocations: 1.747 MB / 1.464 GB, free: 12.74 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.5176, allocations: 0 / 1.464 GB, free: 12.74 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5176, allocations: 0 / 1.464 GB, free: 12.74 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.067e-05/0.5176, allocations: 0 / 1.464 GB, free: 12.74 MB / 1.17 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.002805/0.5204, allocations: 1.533 MB / 1.466 GB, free: 11.15 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5205, allocations: 12.62 kB / 1.466 GB, free: 11.14 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001782/0.5206, allocations: 148.1 kB / 1.466 GB, free: 10.99 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.5217, allocations: 220 kB / 1.466 GB, free: 10.77 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.5231, allocations: 0.7892 MB / 1.467 GB, free: 9.941 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.752e-05/0.5231, allocations: 78 kB / 1.467 GB, free: 9.867 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.5233, allocations: 91.98 kB / 1.467 GB, free: 9.777 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.5251, allocations: 1.003 MB / 1.468 GB, free: 8.734 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.5251, allocations: 0 / 1.468 GB, free: 8.734 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.154e-05/0.5252, allocations: 44 kB / 1.468 GB, free: 8.691 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.5252, allocations: 24 kB / 1.468 GB, free: 8.668 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.5272, allocations: 1.178 MB / 1.469 GB, free: 7.488 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004644/0.5319, allocations: 2.968 MB / 1.472 GB, free: 4.367 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/0.5343, allocations: 0.9279 MB / 1.473 GB, free: 3.418 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005848/0.5349, allocations: 282.7 kB / 1.473 GB, free: 3.141 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.944e-05/0.5349, allocations: 36.59 kB / 1.473 GB, free: 3.105 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009521/0.5359, allocations: 0.4954 MB / 1.474 GB, free: 2.59 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.064e-06/0.5359, allocations: 0 / 1.474 GB, free: 2.59 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003409/0.5393, allocations: 1.241 MB / 1.475 GB, free: 1.32 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.5394, allocations: 192.6 kB / 1.475 GB, free: 1.09 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008777/0.5403, allocations: 0.6333 MB / 1.476 GB, free: 464 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.628e-05/0.5404, allocations: 45.7 kB / 1.476 GB, free: 412 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/0.5408, allocations: 433 kB / 1.476 GB, free: 15.97 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.541, allocations: 281.5 kB / 1.477 GB, free: 15.7 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/0.5413, allocations: 154.6 kB / 1.477 GB, free: 15.54 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.5415, allocations: 386.7 kB / 1.477 GB, free: 15.15 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/0.542, allocations: 261.8 kB / 1.477 GB, free: 14.9 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006806/0.5427, allocations: 366.5 kB / 1.478 GB, free: 14.52 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.5439, allocations: 0.5994 MB / 1.478 GB, free: 13.91 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.5439, allocations: 0 / 1.478 GB, free: 13.91 MB / 1.186 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002054/0.546, allocations: 0.8335 MB / 1.479 GB, free: 13.06 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.546, allocations: 11.94 kB / 1.479 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.546, allocations: 0 / 1.479 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006122/0.5466, allocations: 80.88 kB / 1.479 GB, free: 12.96 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007088/0.5473, allocations: 159.8 kB / 1.479 GB, free: 12.81 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.5497, allocations: 1.629 MB / 1.481 GB, free: 11.04 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007425/0.5504, allocations: 103.4 kB / 1.481 GB, free: 10.94 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-05/0.5505, allocations: 27.98 kB / 1.481 GB, free: 10.91 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.0004988/0.551, allocations: 269.7 kB / 1.481 GB, free: 10.64 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.5512, allocations: 83.48 kB / 1.481 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/0.5537, allocations: 1.093 MB / 1.482 GB, free: 9.441 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.5537, allocations: 12 kB / 1.482 GB, free: 9.43 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.5537, allocations: 0 / 1.482 GB, free: 9.43 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.5538, allocations: 7.922 kB / 1.482 GB, free: 9.422 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00379/0.5575, allocations: 2.009 MB / 1.484 GB, free: 7.355 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.5576, allocations: 3.938 kB / 1.484 GB, free: 7.352 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006227/0.5582, allocations: 155.8 kB / 1.485 GB, free: 7.199 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/0.5586, allocations: 72.78 kB / 1.485 GB, free: 7.125 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.585e-05/0.5587, allocations: 27.97 kB / 1.485 GB, free: 7.098 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/0.5608, allocations: 1.655 MB / 1.486 GB, free: 5.301 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5608, allocations: 0 / 1.486 GB, free: 5.301 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.5631, allocations: 1.026 MB / 1.487 GB, free: 4.254 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004992/0.5636, allocations: 280.2 kB / 1.488 GB, free: 3.961 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.5637, allocations: 27.88 kB / 1.488 GB, free: 3.934 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006629/0.5644, allocations: 69.33 kB / 1.488 GB, free: 3.867 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.5645, allocations: 68.91 kB / 1.488 GB, free: 3.801 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.533e-05/0.5646, allocations: 39.91 kB / 1.488 GB, free: 3.762 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006586/0.5653, allocations: 471 kB / 1.488 GB, free: 3.305 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5653, allocations: 3.938 kB / 1.488 GB, free: 3.301 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009945/0.5663, allocations: 335.1 kB / 1.489 GB, free: 2.973 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.004507/0.5708, allocations: 2.082 MB / 1.491 GB, free: 1.059 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001856/0.5727, allocations: 0.7884 MB / 1.491 GB, free: 264 kB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5727, allocations: 0 / 1.491 GB, free: 264 kB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.5737, allocations: 0.5157 MB / 1.492 GB, free: 15.73 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.5751, allocations: 301.3 kB / 1.492 GB, free: 15.46 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.5868, allocations: 6.436 MB / 1.498 GB, free: 8.867 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008183/0.5876, allocations: 1.047 MB / 1.499 GB, free: 7.789 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009264/0.5885, allocations: 270.9 kB / 1.5 GB, free: 7.52 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00059/0.5891, allocations: 403.3 kB / 1.5 GB, free: 7.125 MB / 1.201 GB Notification: Performance of SimCode: time 1.082e-06/0.5891, allocations: 0 / 1.5 GB, free: 7.125 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06126/0.6504, allocations: 22.41 MB / 1.522 GB, free: 1.062 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.58, allocations: 6.906 kB / 1.522 GB, free: 1.059 MB / 1.217 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_2/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.13536696601659]