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.001171/0.001171, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000951/0.000951, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9366/0.9366, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.713/1.713, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.9504 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.147e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.00259/0.002612, allocations: 1.497 MB / 0.9519 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.003939, allocations: 0.7716 MB / 0.9527 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.004006, allocations: 7.938 kB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.386e-05/0.00404, allocations: 3.938 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.221e-05/0.004102, allocations: 11.86 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006849/0.004787, allocations: 143.4 kB / 0.9528 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.004929, allocations: 79.7 kB / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.00504, allocations: 12.17 kB / 0.9529 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.00521, allocations: 51.89 kB / 0.953 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.669e-05/0.005287, allocations: 35.88 kB / 0.953 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.005308, allocations: 8 kB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.005581, allocations: 139.7 kB / 0.9531 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/0.005608, allocations: 19.92 kB / 0.9532 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.005648, allocations: 23.97 kB / 0.9532 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.005927, allocations: 167.5 kB / 0.9533 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.005929, allocations: 0 / 0.9533 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.503e-06/0.005931, allocations: 7.875 kB / 0.9534 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.005936, allocations: 0 / 0.9534 GB, free: 0.5195 MB / 0.9011 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.0006761/0.006612, allocations: 351.5 kB / 0.9537 GB, free: 144 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.006659, allocations: 16.02 kB / 0.9537 GB, free: 128 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.955e-05/0.006699, allocations: 30.75 kB / 0.9537 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002909/0.00699, allocations: 32.88 kB / 0.9538 GB, free: 56 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.007205, allocations: 125.7 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.007232, allocations: 8.375 kB / 0.9539 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.007246, allocations: 4.375 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.007398, allocations: 66.22 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.007406, allocations: 192 / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.007417, allocations: 3.938 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.007423, allocations: 4 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.707e-05/0.0075, allocations: 43.91 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.007906, allocations: 275.8 kB / 0.9543 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.318e-05/0.00799, allocations: 46.5 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.008037, allocations: 32.97 kB / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.008055, allocations: 0 / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001134/0.008168, allocations: 83.31 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/0.008169, allocations: 0 / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002606/0.00843, allocations: 141.6 kB / 0.9546 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.008464, allocations: 51.41 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.517e-05/0.008539, allocations: 120.3 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.008554, allocations: 33.7 kB / 0.9548 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.008594, allocations: 88.2 kB / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.008611, allocations: 19.89 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.008648, allocations: 29.7 kB / 0.9549 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.03e-05/0.008728, allocations: 326.8 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.577e-05/0.008774, allocations: 27.98 kB / 0.9552 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.555e-05/0.008829, allocations: 50.44 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.374e-05/0.008923, allocations: 70.86 kB / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.008925, allocations: 0 / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001376/0.009063, allocations: 121.6 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.009081, allocations: 4 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.009088, allocations: 4 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.009101, allocations: 0 / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.859e-05/0.00916, allocations: 15.92 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.009166, allocations: 4 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.323e-05/0.009199, allocations: 11.89 kB / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.009212, allocations: 8 kB / 0.9555 GB, free: 14.09 MB / 0.9167 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 7.322e-05/0.009285, allocations: 129.8 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-06/0.009293, allocations: 7.984 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.009319, allocations: 16.38 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.009321, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.009325, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.009328, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.009624, allocations: 349.5 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.009625, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.589e-05/0.009641, allocations: 4 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.009642, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.009651, allocations: 4 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.009652, allocations: 4 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.009653, allocations: 0 / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.009815, allocations: 219.3 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-06/0.009825, allocations: 7.953 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.009836, allocations: 0 / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.152e-05/0.009878, allocations: 7.984 kB / 0.9562 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.009916, allocations: 11.94 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.009924, allocations: 7.922 kB / 0.9562 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.23e-05/0.009967, allocations: 95.27 kB / 0.9563 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009967, allocations: 0 / 0.9563 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002086/0.01018, allocations: 43.88 kB / 0.9564 GB, free: 13.12 MB / 0.9167 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.0005539/0.01073, allocations: 0.8116 MB / 0.9572 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.01088, allocations: 64.28 kB / 0.9572 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01088, allocations: 4.125 kB / 0.9572 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.787e-05/0.01094, allocations: 40.06 kB / 0.9573 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.01114, allocations: 4.094 kB / 0.9573 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.01235, allocations: 1.501 MB / 0.9587 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.835e-05/0.0124, allocations: 77.2 kB / 0.9588 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.799e-05/0.01242, allocations: 4 kB / 0.9588 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.01246, allocations: 24.48 kB / 0.9588 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.01246, allocations: 0 / 0.9588 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.02878, allocations: 3.411 MB / 0.9622 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.81/6.838, allocations: 11.94 kB / 0.9622 GB, free: 7.211 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.13541791215539]