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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009262/0.0009262, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 184.8 kB / 16.92 MB, free: 6.895 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.338/1.338, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.666/2.666, allocations: 462.7 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003688, allocations: 7.562 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3083, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001575/0.3099, allocations: 1.202 MB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.3111, allocations: 0.7246 MB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.3111, allocations: 0 / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.3111, allocations: 0 / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.435e-05/0.3112, allocations: 15.8 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00042/0.3116, allocations: 103.8 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.3117, allocations: 71.83 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.673e-05/0.3118, allocations: 12 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.697e-05/0.3119, allocations: 35.78 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.918e-05/0.312, allocations: 35.83 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.312, allocations: 4 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.3122, allocations: 87.91 kB / 1.062 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.3122, allocations: 15.92 kB / 1.062 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.3123, allocations: 57.56 kB / 1.062 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.3125, allocations: 100 kB / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3125, allocations: 0 / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3125, allocations: 0 / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.3125, allocations: 0 / 1.062 GB, free: 2.484 MB / 0.8106 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.000538/0.313, allocations: 405.1 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3131, allocations: 11.97 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.3131, allocations: 12.78 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.3132, allocations: 184.2 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.3133, allocations: 8.359 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.3133, allocations: 4.375 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.3135, allocations: 77.95 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.3135, allocations: 0 / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3135, allocations: 0 / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3135, allocations: 4 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.3137, allocations: 43.97 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005592/0.3142, allocations: 320.6 kB / 1.063 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.3144, allocations: 54.56 kB / 1.063 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.36e-05/0.3145, allocations: 32.97 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.3145, allocations: 0 / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.3147, allocations: 87.31 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3147, allocations: 4 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003905/0.3151, allocations: 141.7 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.3151, allocations: 55.41 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/0.3152, allocations: 125.8 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.3153, allocations: 29.7 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.3153, allocations: 92.12 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.3153, allocations: 15.75 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.3154, allocations: 21.7 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002405/0.3156, allocations: 322.8 kB / 1.064 GB, free: 256 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.539e-05/0.3157, allocations: 23.98 kB / 1.064 GB, free: 232 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.556e-05/0.3158, allocations: 54.55 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.316, allocations: 86.42 kB / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.316, allocations: 4 kB / 1.064 GB, free: 68 kB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002662/0.3163, allocations: 125.8 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3163, allocations: 4 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.3163, allocations: 3.984 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3163, allocations: 7.938 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.176e-05/0.3164, allocations: 11.94 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3165, allocations: 0 / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.019e-05/0.3165, allocations: 20.05 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.3166, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 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.942e-05/0.3167, allocations: 121.8 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.3167, allocations: 3.906 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.3167, allocations: 16.36 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3167, allocations: 0 / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3167, allocations: 0 / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3167, allocations: 0 / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.3172, allocations: 390.4 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3172, allocations: 0 / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.944e-05/0.3172, allocations: 8 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3172, allocations: 0 / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3172, allocations: 4 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.3173, allocations: 3.984 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3173, allocations: 7.938 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.3176, allocations: 215.3 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.3176, allocations: 81.02 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.3176, allocations: 4 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.123e-05/0.3177, allocations: 15.98 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.3178, allocations: 3.938 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.3178, allocations: 7.984 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.602e-05/0.3178, allocations: 91.27 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3178, allocations: 0 / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002916/0.3181, allocations: 36 kB / 1.065 GB, free: 14.8 MB / 0.8262 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.000302/0.3185, allocations: 172.4 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.3187, allocations: 75.89 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3187, allocations: 0 / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.922e-05/0.3188, allocations: 35.98 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.3191, allocations: 12.12 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.3195, allocations: 236.8 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.3198, allocations: 0.6887 MB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/0.3198, allocations: 19.44 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3198, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of Templates: time 0.003362/0.3232, allocations: 1.604 MB / 1.068 GB, free: 11.92 MB / 0.8262 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