Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_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_9_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.001321/0.00132, allocations: 108.4 kB / 16.41 MB, free: 6.492 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.001221/0.001221, allocations: 185.5 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.16 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.291/2.291, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 63.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7991/0.8009, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002473/0.8035, allocations: 1.481 MB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.805, allocations: 0.7323 MB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.985e-05/0.805, allocations: 0 / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.584e-05/0.8051, allocations: 8.672 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.675e-05/0.8052, allocations: 15.28 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005963/0.8058, allocations: 121.2 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.8059, allocations: 78 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.806, allocations: 15.5 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.663e-05/0.8061, allocations: 31.31 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.267e-05/0.8062, allocations: 44.36 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.8062, allocations: 11.41 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.8064, allocations: 93.59 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.8065, allocations: 15.88 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.08e-05/0.8065, allocations: 32.05 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.8068, allocations: 142.3 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.8068, allocations: 0 / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8068, allocations: 0 / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.8069, allocations: 0.9375 kB / 1.091 GB, free: 3.738 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.0006883/0.8075, allocations: 428.5 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.8076, allocations: 9.031 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.8076, allocations: 9.219 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.073e-05/0.8077, allocations: 174 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.8078, allocations: 2.562 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.8078, allocations: 4.828 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.808, allocations: 72.53 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.808, allocations: 0.7969 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.8081, allocations: 1.094 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.8081, allocations: 5.125 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.8082, allocations: 43.08 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.8088, allocations: 315 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.809, allocations: 45.97 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.996e-05/0.8091, allocations: 35.36 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.8091, allocations: 6.047 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.8093, allocations: 76.61 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.8093, allocations: 0 / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003859/0.8097, allocations: 138.3 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.8097, allocations: 57.3 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.8098, allocations: 119.5 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.8098, allocations: 30.45 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.39e-05/0.8099, allocations: 93.03 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.8099, allocations: 15.2 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.8099, allocations: 34.33 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.818e-05/0.81, allocations: 318.5 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.533e-05/0.8101, allocations: 31.33 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-05/0.8102, allocations: 50.45 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.8103, allocations: 75.86 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8103, allocations: 1.547 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002216/0.8106, allocations: 116.3 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.8106, allocations: 9.562 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8106, allocations: 1.031 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.8106, allocations: 1.719 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.423e-05/0.8107, allocations: 11.78 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.8107, allocations: 1.328 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.723e-05/0.8108, allocations: 12.58 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.8108, allocations: 8.031 kB / 1.094 GB, free: 1.746 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.818e-05/0.8109, allocations: 124.1 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.8109, allocations: 7.719 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.811, allocations: 10.66 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.811, allocations: 0.875 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.811, allocations: 5.469 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.811, allocations: 0.5625 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.8114, allocations: 378.9 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8114, allocations: 0 / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.8114, allocations: 8.875 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.8114, allocations: 2.328 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.8115, allocations: 0.7969 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.8115, allocations: 1.594 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8115, allocations: 4.547 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.8117, allocations: 211.1 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.8118, allocations: 79.97 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.8118, allocations: 9.594 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.744e-05/0.8119, allocations: 3.766 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.8119, allocations: 13.58 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.812, allocations: 3.594 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.053e-05/0.812, allocations: 91.8 kB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.812, allocations: 0 / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000308/0.8123, allocations: 46.14 kB / 1.095 GB, free: 0.8945 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.0003207/0.8126, allocations: 169.2 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002449/0.8129, allocations: 72.55 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8129, allocations: 0 / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.824e-05/0.813, allocations: 41.89 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.8133, allocations: 9.938 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.8137, allocations: 210.6 kB / 1.095 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.8138, allocations: 0.6872 MB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.8139, allocations: 15.86 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.8139, allocations: 0 / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.004048/0.8179, allocations: 1.628 MB / 1.097 GB, free: 15.69 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches