Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 109.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.624/2.624, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.88 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7376/0.739, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002669/0.7418, allocations: 1.479 MB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.7431, allocations: 0.7245 MB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/0.7432, allocations: 3.938 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.7432, allocations: 3.938 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.704e-05/0.7433, allocations: 15.84 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005775/0.7439, allocations: 119.6 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.744, allocations: 87.7 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.913e-05/0.7441, allocations: 4 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.783e-05/0.7442, allocations: 39.89 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.963e-05/0.7443, allocations: 39.84 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.7443, allocations: 4 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.7446, allocations: 99.84 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.7446, allocations: 15.97 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.897e-05/0.7446, allocations: 35.8 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.7449, allocations: 143.5 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.7449, allocations: 0 / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7449, allocations: 0 / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.7449, allocations: 4 kB / 1.211 GB, free: 10.84 MB / 0.9356 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.0006261/0.7456, allocations: 410.8 kB / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.7456, allocations: 12.03 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.7457, allocations: 12.78 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.7458, allocations: 176.3 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.7458, allocations: 4.375 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.7459, allocations: 4.375 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.7461, allocations: 77.77 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.7461, allocations: 0 / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.7461, allocations: 0 / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.7461, allocations: 4 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.7462, allocations: 35.97 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006402/0.7469, allocations: 324.7 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.747, allocations: 42.56 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.744e-05/0.7471, allocations: 32.97 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.7472, allocations: 3.984 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.7474, allocations: 75.33 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 3.025e-06/0.7474, allocations: 4 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.000393/0.7478, allocations: 145.5 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.7478, allocations: 55.41 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.612e-05/0.7479, allocations: 121.7 kB / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.748, allocations: 37.69 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.748, allocations: 84.14 kB / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.7481, allocations: 19.81 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.7481, allocations: 29.7 kB / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.7482, allocations: 322.8 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.37e-05/0.7483, allocations: 27.92 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.7484, allocations: 46.56 kB / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.7486, allocations: 78.48 kB / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7486, allocations: 0 / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002546/0.7489, allocations: 117.8 kB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.7489, allocations: 6.344 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.7489, allocations: 0 / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.7489, allocations: 4 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.749, allocations: 19.98 kB / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.7491, allocations: 4.062 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.928e-05/0.7491, allocations: 7.938 kB / 1.213 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.7491, allocations: 8 kB / 1.213 GB, free: 8.289 MB / 0.9356 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 8.985e-05/0.7492, allocations: 121.8 kB / 1.213 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.7493, allocations: 7.906 kB / 1.213 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.7493, allocations: 8.375 kB / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7493, allocations: 0 / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.7493, allocations: 4 kB / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.7493, allocations: 7.938 kB / 1.214 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005052/0.7498, allocations: 374.4 kB / 1.214 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.7498, allocations: 0 / 1.214 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.7499, allocations: 7.984 kB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.7499, allocations: 0 / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.7499, allocations: 0 / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.7499, allocations: 3.938 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7499, allocations: 4 kB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.7502, allocations: 223.3 kB / 1.214 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.7503, allocations: 81.02 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.7503, allocations: 4 kB / 1.214 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.433e-05/0.7504, allocations: 7.938 kB / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.7505, allocations: 11.98 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.7505, allocations: 4 kB / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.23e-05/0.7505, allocations: 95.27 kB / 1.214 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7505, allocations: 0 / 1.214 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003228/0.7509, allocations: 43.92 kB / 1.214 GB, free: 7.195 MB / 0.9356 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.0004085/0.7513, allocations: 157.2 kB / 1.214 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.7516, allocations: 75.91 kB / 1.215 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7516, allocations: 0 / 1.215 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.7517, allocations: 35.97 kB / 1.215 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.752, allocations: 8 kB / 1.215 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.7524, allocations: 222.5 kB / 1.215 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.7527, allocations: 0.6886 MB / 1.215 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.7527, allocations: 15.42 kB / 1.216 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of SimCode: time 4.51e-07/0.7527, allocations: 0 / 1.216 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of Templates: time 0.003613/0.7563, allocations: 1.617 MB / 1.217 GB, free: 4.336 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches