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.001634/0.001634, allocations: 106.6 kB / 18.94 MB, free: 2.957 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.002035/0.002035, allocations: 223.9 kB / 22.26 MB, free: 5.129 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 8.012 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.182/3.182, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.001988/0.001988, allocations: 62.66 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3237, allocations: 180.2 MB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007569/0.3313, allocations: 5.226 MB / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1772/0.5085, allocations: 154.2 MB / 1.508 GB, free: 8.465 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009094/0.5094, allocations: 23.81 kB / 1.509 GB, free: 8.441 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006353/0.5101, allocations: 206.1 kB / 1.509 GB, free: 8.238 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.5117, allocations: 0.5839 MB / 1.509 GB, free: 7.656 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.5137, allocations: 0.8964 MB / 1.51 GB, free: 6.766 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001614/0.5153, allocations: 1.456 MB / 1.512 GB, free: 5.301 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007765/0.5161, allocations: 480.5 kB / 1.512 GB, free: 4.805 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007273/0.5168, allocations: 0.5412 MB / 1.513 GB, free: 4.262 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006679/0.5175, allocations: 0.5562 MB / 1.513 GB, free: 3.703 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.5176, allocations: 128 kB / 1.513 GB, free: 3.578 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009739/0.5186, allocations: 0.5191 MB / 1.514 GB, free: 3.059 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002974/0.5189, allocations: 319 kB / 1.514 GB, free: 2.746 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005518/0.5194, allocations: 0.618 MB / 1.515 GB, free: 2.125 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.5215, allocations: 1.79 MB / 1.516 GB, free: 336 kB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5215, allocations: 0 / 1.516 GB, free: 336 kB / 1.201 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5215, allocations: 0 / 1.516 GB, free: 336 kB / 1.201 GB Notification: Performance of Transformations before backend: time 1.455e-05/0.5216, allocations: 0 / 1.516 GB, free: 336 kB / 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.002618/0.5242, allocations: 1.493 MB / 1.518 GB, free: 14.8 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.5242, allocations: 8.031 kB / 1.518 GB, free: 14.79 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/0.5244, allocations: 148.1 kB / 1.518 GB, free: 14.64 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.5262, allocations: 283.8 kB / 1.518 GB, free: 14.36 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.5275, allocations: 0.7375 MB / 1.519 GB, free: 13.6 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.357e-05/0.5275, allocations: 74 kB / 1.519 GB, free: 13.52 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.5277, allocations: 88 kB / 1.519 GB, free: 13.44 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.5293, allocations: 1.003 MB / 1.52 GB, free: 12.4 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.5294, allocations: 4 kB / 1.52 GB, free: 12.39 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.473e-05/0.5294, allocations: 43.94 kB / 1.52 GB, free: 12.35 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.5295, allocations: 24 kB / 1.52 GB, free: 12.33 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.5314, allocations: 1.171 MB / 1.521 GB, free: 11.15 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004416/0.5358, allocations: 2.93 MB / 1.524 GB, free: 8.074 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002364/0.5382, allocations: 0.8467 MB / 1.525 GB, free: 7.215 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005682/0.5388, allocations: 294.6 kB / 1.525 GB, free: 6.926 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.298e-05/0.5388, allocations: 32.61 kB / 1.525 GB, free: 6.895 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009101/0.5398, allocations: 0.5008 MB / 1.526 GB, free: 6.375 MB / 1.217 GB Notification: Performance of pre-optimization done (n=82): time 2.064e-06/0.5398, allocations: 4 kB / 1.526 GB, free: 6.371 MB / 1.217 GB Notification: Performance of matching and sorting (n=82): time 0.003314/0.5431, allocations: 1.162 MB / 1.527 GB, free: 5.199 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.5432, allocations: 192.6 kB / 1.527 GB, free: 4.969 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008732/0.5441, allocations: 0.6685 MB / 1.528 GB, free: 4.293 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.189e-05/0.5441, allocations: 41.7 kB / 1.528 GB, free: 4.246 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003754/0.5445, allocations: 433 kB / 1.528 GB, free: 3.816 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.5448, allocations: 285.6 kB / 1.529 GB, free: 3.535 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.545, allocations: 154.6 kB / 1.529 GB, free: 3.375 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.5452, allocations: 386.8 kB / 1.529 GB, free: 2.988 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000546/0.5457, allocations: 257.8 kB / 1.529 GB, free: 2.738 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006699/0.5464, allocations: 366.5 kB / 1.53 GB, free: 2.355 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.5476, allocations: 0.6033 MB / 1.53 GB, free: 1.742 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5476, allocations: 0 / 1.53 GB, free: 1.742 MB / 1.217 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001971/0.5495, allocations: 0.8335 MB / 1.531 GB, free: 0.9023 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.5496, allocations: 4 kB / 1.531 GB, free: 0.8984 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.5496, allocations: 4 kB / 1.531 GB, free: 0.8945 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/0.5502, allocations: 76.88 kB / 1.531 GB, free: 0.8164 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/0.5508, allocations: 163.8 kB / 1.531 GB, free: 0.6562 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.5529, allocations: 1.525 MB / 1.533 GB, free: 15.01 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006921/0.5536, allocations: 103.5 kB / 1.533 GB, free: 14.91 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.5537, allocations: 27.98 kB / 1.533 GB, free: 14.88 MB / 1.232 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.0004257/0.5541, allocations: 270.3 kB / 1.533 GB, free: 14.61 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.5542, allocations: 87.62 kB / 1.533 GB, free: 14.52 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.5567, allocations: 1.101 MB / 1.534 GB, free: 13.4 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.5567, allocations: 16 kB / 1.534 GB, free: 13.39 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.5567, allocations: 0 / 1.534 GB, free: 13.39 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.5567, allocations: 3.984 kB / 1.534 GB, free: 13.38 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/0.5601, allocations: 1.997 MB / 1.536 GB, free: 11.33 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5601, allocations: 0 / 1.536 GB, free: 11.33 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006221/0.5608, allocations: 151.8 kB / 1.536 GB, free: 11.18 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004345/0.5612, allocations: 72.78 kB / 1.536 GB, free: 11.11 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.736e-05/0.5612, allocations: 27.97 kB / 1.537 GB, free: 11.08 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.5631, allocations: 1.555 MB / 1.538 GB, free: 9.406 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5631, allocations: 0 / 1.538 GB, free: 9.406 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/0.5652, allocations: 1.026 MB / 1.539 GB, free: 8.363 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004444/0.5656, allocations: 207 kB / 1.539 GB, free: 8.16 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.5658, allocations: 23.94 kB / 1.539 GB, free: 8.137 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006824/0.5664, allocations: 77.8 kB / 1.539 GB, free: 8.062 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.5666, allocations: 76.86 kB / 1.539 GB, free: 7.988 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.811e-05/0.5667, allocations: 43.91 kB / 1.539 GB, free: 7.945 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006152/0.5673, allocations: 491 kB / 1.54 GB, free: 7.473 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.5673, allocations: 0 / 1.54 GB, free: 7.473 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008963/0.5682, allocations: 335.1 kB / 1.54 GB, free: 7.145 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.004215/0.5724, allocations: 2.076 MB / 1.542 GB, free: 5.219 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001722/0.5741, allocations: 0.796 MB / 1.543 GB, free: 4.41 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5741, allocations: 0 / 1.543 GB, free: 4.41 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009417/0.5751, allocations: 0.4965 MB / 1.544 GB, free: 3.898 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.5763, allocations: 314.9 kB / 1.544 GB, free: 3.613 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.5873, allocations: 6.515 MB / 1.55 GB, free: 12.94 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006906/0.588, allocations: 1.047 MB / 1.551 GB, free: 11.86 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008743/0.5888, allocations: 279 kB / 1.551 GB, free: 11.58 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006288/0.5895, allocations: 411.2 kB / 1.552 GB, free: 11.18 MB / 1.248 GB Notification: Performance of SimCode: time 6.91e-07/0.5895, allocations: 0 / 1.552 GB, free: 11.18 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06191/0.6514, allocations: 23.22 MB / 1.575 GB, free: 4.195 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/14.9, allocations: 5.453 kB / 1.575 GB, free: 4.195 MB / 1.264 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.797110714018345]