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.001499/0.001499, allocations: 105 kB / 15.98 MB, free: 6.352 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.001452/0.001452, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.358/1.358, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.701/2.701, allocations: 482.4 MB / 0.755 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 64.03 kB / 0.924 GB, free: 364 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7915/0.7934, allocations: 162.2 MB / 1.082 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002402/0.7958, allocations: 1.532 MB / 1.084 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.7969, allocations: 0.718 MB / 1.085 GB, free: 72 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.363e-05/0.7969, allocations: 0 / 1.085 GB, free: 72 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.146e-05/0.797, allocations: 4.734 kB / 1.085 GB, free: 68 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.107e-05/0.797, allocations: 10.45 kB / 1.085 GB, free: 60 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.7975, allocations: 111.8 kB / 1.085 GB, free: 4 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.7977, allocations: 76.36 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.381e-05/0.7978, allocations: 23.55 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.481e-05/0.7979, allocations: 35.52 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.876e-05/0.7979, allocations: 41.12 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.798, allocations: 6.344 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.7982, allocations: 95.12 kB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.983e-05/0.7982, allocations: 19.48 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.7982, allocations: 28.08 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.7984, allocations: 101.1 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.7984, allocations: 1.219 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7985, allocations: 4 kB / 1.085 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.7985, allocations: 0 / 1.085 GB, free: 15.83 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.0006813/0.7992, allocations: 415.1 kB / 1.086 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.7992, allocations: 13.36 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.7992, allocations: 9.516 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.7994, allocations: 173.7 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.7995, allocations: 5.844 kB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.7995, allocations: 5.641 kB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.7997, allocations: 79.47 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.7997, allocations: 0 / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.7997, allocations: 1.672 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.7997, allocations: 1.094 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.7999, allocations: 40.66 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006372/0.8005, allocations: 318.3 kB / 1.086 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.8007, allocations: 49.31 kB / 1.086 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.8007, allocations: 33.81 kB / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.8008, allocations: 0 / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.801, allocations: 77.19 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.522e-06/0.801, allocations: 4 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004134/0.8014, allocations: 142.4 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.8015, allocations: 53.34 kB / 1.087 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.8016, allocations: 122.8 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.8016, allocations: 27.83 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.8017, allocations: 91.59 kB / 1.087 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.8017, allocations: 12.12 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.8018, allocations: 33.25 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.8019, allocations: 322.8 kB / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.905e-05/0.802, allocations: 28.02 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.8021, allocations: 51.83 kB / 1.087 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.8023, allocations: 75.95 kB / 1.087 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8023, allocations: 3.938 kB / 1.087 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002483/0.8026, allocations: 111.8 kB / 1.087 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.8026, allocations: 7.281 kB / 1.087 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.8026, allocations: 1.656 kB / 1.087 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.8026, allocations: 1.219 kB / 1.087 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.765e-05/0.8027, allocations: 19.44 kB / 1.087 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.8028, allocations: 5.188 kB / 1.087 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.993e-05/0.8028, allocations: 9.938 kB / 1.087 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.8029, allocations: 3.297 kB / 1.087 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.0001051/0.803, allocations: 125.4 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.803, allocations: 7.469 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.586e-05/0.803, allocations: 10.52 kB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.8031, allocations: 1.922 kB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.8031, allocations: 0 / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.8031, allocations: 4.797 kB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.8036, allocations: 382.6 kB / 1.088 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8036, allocations: 1.156 kB / 1.088 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.8037, allocations: 4.984 kB / 1.088 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.8037, allocations: 0 / 1.088 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.8037, allocations: 2.203 kB / 1.088 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.8037, allocations: 2.391 kB / 1.088 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.8037, allocations: 3.938 kB / 1.088 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.804, allocations: 220.1 kB / 1.088 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.8041, allocations: 83.36 kB / 1.088 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.8041, allocations: 1.938 kB / 1.088 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.081e-05/0.8042, allocations: 4.156 kB / 1.088 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.8042, allocations: 8.422 kB / 1.088 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.8043, allocations: 3.953 kB / 1.088 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.203e-05/0.8043, allocations: 99.41 kB / 1.088 GB, free: 13 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8043, allocations: 1.062 kB / 1.088 GB, free: 13 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003209/0.8047, allocations: 45.45 kB / 1.088 GB, free: 12.98 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.000355/0.805, allocations: 159.4 kB / 1.089 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002477/0.8053, allocations: 81.84 kB / 1.089 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8053, allocations: 0 / 1.089 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.8054, allocations: 37.75 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.0002444/0.8057, allocations: 7.922 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.0004455/0.8061, allocations: 224 kB / 1.089 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.8064, allocations: 0.6865 MB / 1.09 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.8065, allocations: 11.47 kB / 1.09 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.8065, allocations: 0 / 1.09 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of Templates: time 0.003685/0.8102, allocations: 1.621 MB / 1.091 GB, free: 11.78 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