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 12.0.0-master/package.mo", uses=false) 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: 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.001857/0.001857, allocations: 105.1 kB / 16.27 MB, free: 6.414 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.002081/0.002081, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.401/1.401, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.785/2.785, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 68.61 kB / 0.9245 GB, free: 16 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7425/0.7444, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002718/0.7472, allocations: 1.473 MB / 1.084 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.7484, allocations: 0.7299 MB / 1.085 GB, free: 124 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.7484, allocations: 1.25 kB / 1.085 GB, free: 124 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.609e-05/0.7485, allocations: 9.281 kB / 1.085 GB, free: 116 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.042e-05/0.7486, allocations: 14.48 kB / 1.085 GB, free: 104 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005445/0.7491, allocations: 121.2 kB / 1.085 GB, free: 44 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.7492, allocations: 80.55 kB / 1.085 GB, free: 4 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.7494, allocations: 20.45 kB / 1.085 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.052e-05/0.7495, allocations: 34.67 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.243e-05/0.7496, allocations: 38 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.7496, allocations: 6.969 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.7498, allocations: 98.66 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.3e-05/0.7498, allocations: 22.11 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.7499, allocations: 27.2 kB / 1.086 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000371/0.7503, allocations: 140.3 kB / 1.086 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.7503, allocations: 0 / 1.086 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7503, allocations: 1.281 kB / 1.086 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.7503, allocations: 0 / 1.086 GB, free: 15.85 MB / 0.8419 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.0006964/0.751, allocations: 422.3 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.7511, allocations: 10.48 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.7511, allocations: 8.375 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.7513, allocations: 173.4 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.7514, allocations: 2.719 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.7514, allocations: 5.625 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.7516, allocations: 72.16 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.7516, allocations: 4 kB / 1.086 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.7516, allocations: 1.375 kB / 1.086 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.7517, allocations: 5.891 kB / 1.086 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.7518, allocations: 34.72 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006496/0.7525, allocations: 323.9 kB / 1.087 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.7526, allocations: 49.33 kB / 1.087 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.902e-05/0.7527, allocations: 31.62 kB / 1.087 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.7527, allocations: 1.453 kB / 1.087 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.7529, allocations: 77.27 kB / 1.087 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 3.687e-06/0.7529, allocations: 0 / 1.087 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004231/0.7534, allocations: 149.8 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.7534, allocations: 58.36 kB / 1.087 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.7535, allocations: 122.1 kB / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.7536, allocations: 27.48 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.7537, allocations: 88.02 kB / 1.087 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.7537, allocations: 15.89 kB / 1.087 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.7538, allocations: 29.89 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.7539, allocations: 329.1 kB / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/0.754, allocations: 20.84 kB / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.7542, allocations: 47.7 kB / 1.088 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.7544, allocations: 80.59 kB / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7544, allocations: 0 / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002566/0.7547, allocations: 117.5 kB / 1.088 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.7547, allocations: 5.062 kB / 1.088 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.7547, allocations: 1.125 kB / 1.088 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.7547, allocations: 1.188 kB / 1.088 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.362e-05/0.7548, allocations: 10.72 kB / 1.088 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.7548, allocations: 2.266 kB / 1.088 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.405e-05/0.7549, allocations: 21.06 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.7549, allocations: 4.422 kB / 1.088 GB, free: 13.86 MB / 0.8419 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.0001276/0.7551, allocations: 118.8 kB / 1.088 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.7551, allocations: 7.031 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.7551, allocations: 12.31 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.7551, allocations: 1.062 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.7552, allocations: 0 / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.7552, allocations: 6.359 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/0.7557, allocations: 381.5 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7557, allocations: 0.7031 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.7558, allocations: 4.25 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.7558, allocations: 1.062 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.7558, allocations: 6.828 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.7558, allocations: 4 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.7558, allocations: 5.672 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.7561, allocations: 210.2 kB / 1.089 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.7562, allocations: 83.59 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.7562, allocations: 3.234 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.223e-05/0.7563, allocations: 7.547 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.7564, allocations: 12.45 kB / 1.089 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.7564, allocations: 3.5 kB / 1.089 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.234e-05/0.7565, allocations: 96.72 kB / 1.089 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7565, allocations: 4 kB / 1.089 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003387/0.7568, allocations: 41.48 kB / 1.089 GB, free: 13 MB / 0.8419 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.0003732/0.7572, allocations: 159.1 kB / 1.089 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.7575, allocations: 69.39 kB / 1.089 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7575, allocations: 8.125 kB / 1.089 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.7576, allocations: 34.8 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.7579, allocations: 6.562 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.7584, allocations: 221.2 kB / 1.089 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.7587, allocations: 0.6853 MB / 1.09 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.7588, allocations: 12.42 kB / 1.09 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.7588, allocations: 5.312 kB / 1.09 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of Templates: time 0.0044/0.7632, allocations: 1.619 MB / 1.092 GB, free: 11.81 MB / 0.8419 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=400 -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