Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001634/0.001634, allocations: 108.9 kB / 16.41 MB, free: 6.5 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.001783/0.001783, allocations: 183 kB / 17.34 MB, free: 5.762 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.199/2.199, allocations: 390.2 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 55.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7649/0.7663, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002405/0.7687, allocations: 1.475 MB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.7699, allocations: 0.7348 MB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.77, allocations: 5.562 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.77, allocations: 4.688 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.452e-05/0.7701, allocations: 10.22 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005381/0.7706, allocations: 116.7 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.7708, allocations: 74.14 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.709e-05/0.7709, allocations: 19.64 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.987e-05/0.771, allocations: 39.11 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.777e-05/0.7711, allocations: 38.25 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.7711, allocations: 6.281 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.7713, allocations: 93.39 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.989e-05/0.7713, allocations: 23.34 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.7714, allocations: 35.64 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.7717, allocations: 143.2 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.7717, allocations: 0 / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7717, allocations: 0.7812 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.7717, allocations: 0 / 1.091 GB, free: 3.719 MB / 0.8575 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.0005528/0.7722, allocations: 420.5 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.7723, allocations: 9.656 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.7723, allocations: 8.422 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.184e-05/0.7724, allocations: 169.8 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.7724, allocations: 11.12 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.7725, allocations: 4.688 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.7727, allocations: 75.78 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.7727, allocations: 1.922 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.7727, allocations: 4 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.7727, allocations: 1.062 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.7728, allocations: 35.86 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.7734, allocations: 318.6 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.7735, allocations: 46.06 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.553e-05/0.7736, allocations: 36.14 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.7737, allocations: 0.8125 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.7739, allocations: 76.97 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.7739, allocations: 0.75 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004044/0.7743, allocations: 145.8 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.7743, allocations: 54 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.397e-05/0.7744, allocations: 122.3 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.7744, allocations: 31.78 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.797e-05/0.7745, allocations: 95.73 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.7745, allocations: 11.91 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.7745, allocations: 25.36 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.595e-05/0.7746, allocations: 323.6 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.633e-05/0.7747, allocations: 31.52 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.7748, allocations: 45.8 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.775, allocations: 77.05 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.775, allocations: 0 / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002387/0.7752, allocations: 116.9 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.7752, allocations: 5.188 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.7752, allocations: 1.578 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.7753, allocations: 5.094 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.666e-05/0.7754, allocations: 11.3 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.7754, allocations: 5.766 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.797e-05/0.7755, allocations: 13.44 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.7755, allocations: 3.984 kB / 1.094 GB, free: 1.734 MB / 0.8575 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 6.891e-05/0.7755, allocations: 127.8 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.7756, allocations: 7.047 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.7756, allocations: 6.453 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.7756, allocations: 9.078 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.7756, allocations: 1.656 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.7756, allocations: 0 / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.776, allocations: 378.8 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.776, allocations: 0.6562 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.7761, allocations: 5.812 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.7761, allocations: 0 / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.7761, allocations: 2.219 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.7761, allocations: 5.766 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7761, allocations: 7.938 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.7764, allocations: 211.5 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.018e-05/0.7764, allocations: 79.69 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.7764, allocations: 6.266 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/0.7765, allocations: 3.859 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.7766, allocations: 8.797 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.7766, allocations: 11.39 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.977e-05/0.7766, allocations: 92.05 kB / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.7767, allocations: 0 / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003171/0.777, allocations: 46.5 kB / 1.095 GB, free: 0.875 MB / 0.8575 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.0003192/0.7773, allocations: 158.6 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.7776, allocations: 80.59 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7776, allocations: 0 / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.587e-05/0.7777, allocations: 36.8 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.7779, allocations: 9.734 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.7783, allocations: 210.2 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.7785, allocations: 0.6912 MB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.7785, allocations: 13.16 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/0.7785, allocations: 0 / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.004348/0.7829, allocations: 1.62 MB / 1.097 GB, free: 15.68 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches