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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001538/0.001538, allocations: 107.3 kB / 15.99 MB, free: 5.91 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.00153/0.00153, allocations: 193.6 kB / 16.91 MB, free: 5.754 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.436/1.436, allocations: 222.9 MB / 240.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.7/2.7, allocations: 469.8 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 66.66 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3264, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002821/0.3293, allocations: 1.546 MB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.3306, allocations: 0.7246 MB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.3306, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.151e-05/0.3307, allocations: 7.922 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.755e-05/0.3308, allocations: 7.938 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.3313, allocations: 111.8 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.3314, allocations: 67.84 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.488e-05/0.3315, allocations: 15.97 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/0.3316, allocations: 35.86 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.3317, allocations: 43.81 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3317, allocations: 4 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.3319, allocations: 99.91 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.939e-05/0.332, allocations: 19.92 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.1e-05/0.332, allocations: 27.86 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.3322, allocations: 100 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3322, allocations: 4 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.296e-06/0.3322, allocations: 0 / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.3322, allocations: 3.938 kB / 1.067 GB, free: 12.3 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.0006821/0.3329, allocations: 416.9 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.333, allocations: 12.62 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.333, allocations: 8.844 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3331, allocations: 172.2 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.3332, allocations: 4.375 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.3332, allocations: 4.375 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.3334, allocations: 69.97 kB / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3334, allocations: 0 / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.3334, allocations: 7.984 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3335, allocations: 0 / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.3336, allocations: 43.86 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000627/0.3342, allocations: 316.8 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.3344, allocations: 46.56 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.661e-05/0.3345, allocations: 36.97 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.3345, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.3347, allocations: 79.31 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 3.537e-06/0.3347, allocations: 3.984 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004022/0.3351, allocations: 133.5 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.3352, allocations: 59.47 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3353, allocations: 125.8 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.3353, allocations: 29.7 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.3354, allocations: 92.05 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.3354, allocations: 19.73 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/0.3355, allocations: 25.7 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3356, allocations: 322.8 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.799e-05/0.3357, allocations: 31.92 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.727e-05/0.3358, allocations: 58.86 kB / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.336, allocations: 70.55 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.336, allocations: 0 / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002481/0.3362, allocations: 113.6 kB / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3363, allocations: 4 kB / 1.069 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3363, allocations: 0 / 1.069 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3363, allocations: 4 kB / 1.069 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3364, allocations: 11.94 kB / 1.069 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.3364, allocations: 3.984 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.868e-05/0.3365, allocations: 7.906 kB / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.3365, allocations: 4 kB / 1.069 GB, free: 9.758 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.0001064/0.3366, allocations: 126.5 kB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.3366, allocations: 7.906 kB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.3367, allocations: 8.359 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3367, allocations: 4 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3367, allocations: 0 / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3367, allocations: 0 / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.3372, allocations: 386.3 kB / 1.07 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3372, allocations: 0 / 1.07 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.3372, allocations: 8 kB / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3372, allocations: 0 / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.3373, allocations: 3.984 kB / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.3373, allocations: 4 kB / 1.07 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.3373, allocations: 7.938 kB / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.3376, allocations: 215.8 kB / 1.07 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.3376, allocations: 85.02 kB / 1.07 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.3377, allocations: 11.92 kB / 1.07 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.884e-05/0.3378, allocations: 4 kB / 1.07 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.3378, allocations: 3.938 kB / 1.07 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.3378, allocations: 11.92 kB / 1.07 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.085e-05/0.3379, allocations: 95.27 kB / 1.07 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3379, allocations: 0 / 1.07 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000288/0.3382, allocations: 36 kB / 1.07 GB, free: 8.66 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.0003607/0.3386, allocations: 150.7 kB / 1.07 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.3388, allocations: 79.89 kB / 1.07 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3388, allocations: 0 / 1.07 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.3389, allocations: 35.92 kB / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.3392, allocations: 16.52 kB / 1.07 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.3396, allocations: 214.8 kB / 1.071 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.34, allocations: 0.6885 MB / 1.071 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.3401, allocations: 11.44 kB / 1.071 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of SimCode: time 2.81e-07/0.3401, allocations: 4 kB / 1.071 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of Templates: time 0.003746/0.3438, allocations: 1.621 MB / 1.073 GB, free: 5.797 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (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 & ./Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches