Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.001659/0.001659, allocations: 102.6 kB / 16.45 MB, free: 6.449 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.002176/0.002176, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.612/1.612, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.861/2.861, allocations: 476.7 MB / 0.7672 GB, free: 5.215 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",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.002108/0.002108, allocations: 67.91 kB / 1.112 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8406/0.8427, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.003021/0.8457, allocations: 1.503 MB / 1.28 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.8473, allocations: 0.8078 MB / 1.28 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.266e-05/0.8474, allocations: 4 kB / 1.28 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.6e-05/0.8474, allocations: 11.92 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.11e-05/0.8475, allocations: 7.875 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007157/0.8482, allocations: 139.5 kB / 1.281 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.8484, allocations: 79.75 kB / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.245e-05/0.8484, allocations: 8.188 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.8486, allocations: 43.83 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.556e-05/0.8487, allocations: 31.91 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.8487, allocations: 8 kB / 1.281 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.849, allocations: 115.8 kB / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.933e-05/0.849, allocations: 23.91 kB / 1.281 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.048e-05/0.849, allocations: 31.86 kB / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.8494, allocations: 153.3 kB / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8494, allocations: 0 / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8494, allocations: 0 / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.8494, allocations: 0 / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007732/0.8501, allocations: 432.6 kB / 1.282 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.8502, allocations: 12.03 kB / 1.282 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.645e-05/0.8502, allocations: 38.69 kB / 1.282 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003644/0.8506, allocations: 28.91 kB / 1.282 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.8509, allocations: 192.2 kB / 1.282 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.8509, allocations: 384 / 1.282 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.851, allocations: 8.375 kB / 1.282 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.8512, allocations: 69.59 kB / 1.282 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.8512, allocations: 0 / 1.282 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.8512, allocations: 0 / 1.282 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.8512, allocations: 4 kB / 1.282 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.8514, allocations: 39.91 kB / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006652/0.852, allocations: 316.7 kB / 1.282 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.8522, allocations: 46.55 kB / 1.282 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.398e-05/0.8523, allocations: 36.95 kB / 1.282 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.8523, allocations: 0 / 1.282 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.8525, allocations: 83.38 kB / 1.282 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.8525, allocations: 0 / 1.282 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004574/0.8529, allocations: 137.5 kB / 1.283 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.853, allocations: 59.41 kB / 1.283 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.8531, allocations: 126.1 kB / 1.283 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.8531, allocations: 25.7 kB / 1.283 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.8532, allocations: 92.09 kB / 1.283 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.8532, allocations: 19.84 kB / 1.283 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.8534, allocations: 29.7 kB / 1.283 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.8535, allocations: 322.8 kB / 1.283 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.994e-05/0.8536, allocations: 23.98 kB / 1.283 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.8537, allocations: 62.42 kB / 1.283 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.8539, allocations: 74.84 kB / 1.283 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8539, allocations: 0 / 1.283 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002657/0.8542, allocations: 117.5 kB / 1.283 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.8542, allocations: 8 kB / 1.283 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.8542, allocations: 0 / 1.283 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.8542, allocations: 0 / 1.283 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.8543, allocations: 15.92 kB / 1.283 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.8543, allocations: 4 kB / 1.283 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.481e-05/0.8544, allocations: 15.92 kB / 1.283 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.8544, allocations: 3.938 kB / 1.283 GB, free: 7.766 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.8545, allocations: 124.6 kB / 1.284 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.8545, allocations: 3.953 kB / 1.284 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/0.8546, allocations: 12.38 kB / 1.284 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.8546, allocations: 0 / 1.284 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.8546, allocations: 0 / 1.284 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.8546, allocations: 3.984 kB / 1.284 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000523/0.8551, allocations: 378.4 kB / 1.284 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.8551, allocations: 11.92 kB / 1.284 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.64e-05/0.8551, allocations: 4 kB / 1.284 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.8552, allocations: 4 kB / 1.284 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.8552, allocations: 4 kB / 1.284 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.8552, allocations: 3.938 kB / 1.284 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8552, allocations: 0 / 1.284 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.8555, allocations: 207.4 kB / 1.284 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.8555, allocations: 81.06 kB / 1.284 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.8555, allocations: 4 kB / 1.284 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.8556, allocations: 15.92 kB / 1.284 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.8557, allocations: 4 kB / 1.284 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.8557, allocations: 0 / 1.284 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.142e-05/0.8558, allocations: 97.14 kB / 1.284 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8558, allocations: 0 / 1.284 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003136/0.8561, allocations: 39.92 kB / 1.284 GB, free: 6.684 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009555/0.857, allocations: 0.8144 MB / 1.285 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.8573, allocations: 76.31 kB / 1.285 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.8573, allocations: 0 / 1.285 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.8574, allocations: 39.91 kB / 1.285 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.8577, allocations: 7.938 kB / 1.285 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.8596, allocations: 1.52 MB / 1.287 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.86, allocations: 0.6846 MB / 1.287 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.263e-05/0.86, allocations: 7.984 kB / 1.287 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.8601, allocations: 19.44 kB / 1.288 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.8601, allocations: 0 / 1.288 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.8895, allocations: 2.702 MB / 1.29 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.278/9.167, allocations: 10.81 kB / 1.29 GB, free: 0.8398 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable hea.occ in file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv. Warning: Get data of variable hea.occ from file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv failed! Error: Could not read variable hea.on in file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv. Warning: Get data of variable hea.on from file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.637220668140799]