Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001654, allocations: 105.2 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.001506/0.001506, allocations: 190.3 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.729/2.729, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 72.62 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7106/0.7125, allocations: 162.2 MB / 1.083 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002663/0.7152, allocations: 1.463 MB / 1.084 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.7165, allocations: 0.7264 MB / 1.085 GB, free: 116 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.7165, allocations: 1.344 kB / 1.085 GB, free: 116 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.7166, allocations: 8.625 kB / 1.085 GB, free: 108 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.302e-05/0.7167, allocations: 10.55 kB / 1.085 GB, free: 100 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005583/0.7172, allocations: 133.7 kB / 1.085 GB, free: 28 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.7174, allocations: 71.7 kB / 1.085 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.7175, allocations: 20.59 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.7176, allocations: 39.22 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.794e-05/0.7177, allocations: 37.17 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.7177, allocations: 6.312 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.718, allocations: 94.03 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.718, allocations: 23.62 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.347e-05/0.7181, allocations: 27.97 kB / 1.086 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.7184, allocations: 143.8 kB / 1.086 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7184, allocations: 0 / 1.086 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.72e-07/0.7184, allocations: 1.25 kB / 1.086 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.7184, allocations: 4 kB / 1.086 GB, free: 15.84 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.0006991/0.7191, allocations: 417.7 kB / 1.086 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.7192, allocations: 9.5 kB / 1.086 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.7192, allocations: 13.47 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.7194, allocations: 169 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.7194, allocations: 4 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.7194, allocations: 9.562 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.7197, allocations: 75.2 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.7197, allocations: 0 / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.7197, allocations: 2.594 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.7197, allocations: 0 / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.7198, allocations: 39.83 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006423/0.7205, allocations: 319.1 kB / 1.087 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.7206, allocations: 45.27 kB / 1.087 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.111e-05/0.7207, allocations: 32.11 kB / 1.087 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.7208, allocations: 1.844 kB / 1.087 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.721, allocations: 81.61 kB / 1.087 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.721, allocations: 7.938 kB / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004204/0.7214, allocations: 144.5 kB / 1.087 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.7215, allocations: 54.55 kB / 1.087 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.7216, allocations: 127.1 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.7216, allocations: 26.92 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.7217, allocations: 91.97 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.7217, allocations: 13.2 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.7218, allocations: 33.02 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.7219, allocations: 323 kB / 1.088 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.915e-05/0.722, allocations: 22.69 kB / 1.088 GB, free: 14 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.7221, allocations: 55.36 kB / 1.088 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.7223, allocations: 71.27 kB / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7223, allocations: 0.5938 kB / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002562/0.7226, allocations: 117.6 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.7226, allocations: 4.25 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.7226, allocations: 1.781 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.7227, allocations: 2.219 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.713e-05/0.7228, allocations: 14.38 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.7228, allocations: 1.281 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.094e-05/0.7229, allocations: 17.73 kB / 1.088 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.7229, allocations: 4.562 kB / 1.088 GB, free: 13.84 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.0001074/0.723, allocations: 119 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.723, allocations: 7.875 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.723, allocations: 11.22 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.7231, allocations: 0 / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7231, allocations: 6.047 kB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.7231, allocations: 0 / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.7236, allocations: 382.6 kB / 1.088 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7236, allocations: 0 / 1.088 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.7236, allocations: 5.281 kB / 1.088 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.7236, allocations: 0.9688 kB / 1.088 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.7236, allocations: 2.172 kB / 1.088 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.7237, allocations: 5.875 kB / 1.088 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.7237, allocations: 3.938 kB / 1.088 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.724, allocations: 219.1 kB / 1.089 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.724, allocations: 84.56 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.7241, allocations: 4.609 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.166e-05/0.7242, allocations: 4.984 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.7242, allocations: 9.328 kB / 1.089 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.7242, allocations: 3.109 kB / 1.089 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.483e-05/0.7243, allocations: 92.72 kB / 1.089 GB, free: 13 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7243, allocations: 4 kB / 1.089 GB, free: 13 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000327/0.7246, allocations: 42.03 kB / 1.089 GB, free: 12.99 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.0003687/0.725, allocations: 161 kB / 1.089 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002681/0.7253, allocations: 80.53 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7253, allocations: 0.7812 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.7254, allocations: 37.48 kB / 1.089 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.7257, allocations: 5.062 kB / 1.089 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.7262, allocations: 214.7 kB / 1.089 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.7265, allocations: 0.6879 MB / 1.09 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.7265, allocations: 16.12 kB / 1.09 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.7265, allocations: 0 / 1.09 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of Templates: time 0.003952/0.7305, allocations: 1.615 MB / 1.092 GB, free: 11.8 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches