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.001368/0.001368, allocations: 104.9 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.00146/0.00146, allocations: 189.8 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.374/1.374, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.284/2.284, allocations: 390.3 MB / 0.6653 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 65.09 kB / 0.8132 GB, free: 33.14 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2545, allocations: 140.4 MB / 0.9503 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002671/0.2572, allocations: 1.474 MB / 0.9517 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.2584, allocations: 0.7323 MB / 0.9524 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.615e-05/0.2585, allocations: 4 kB / 0.9524 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.296e-05/0.2585, allocations: 3.938 kB / 0.9524 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.335e-05/0.2586, allocations: 15.86 kB / 0.9524 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005318/0.2591, allocations: 115.6 kB / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.2593, allocations: 91.69 kB / 0.9526 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.41e-05/0.2593, allocations: 7.984 kB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.47e-05/0.2594, allocations: 35.91 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.061e-05/0.2595, allocations: 39.83 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.2595, allocations: 12 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.2597, allocations: 95.84 kB / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.2598, allocations: 11.98 kB / 0.9528 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.2598, allocations: 35.8 kB / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.26, allocations: 136 kB / 0.953 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2601, allocations: 3.938 kB / 0.953 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2601, allocations: 0 / 0.953 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2601, allocations: 0 / 0.953 GB, free: 6.09 MB / 0.7325 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.0005776/0.2607, allocations: 420.9 kB / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.2607, allocations: 12.03 kB / 0.9534 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.2607, allocations: 8.844 kB / 0.9534 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.2609, allocations: 172.3 kB / 0.9536 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.2609, allocations: 8.375 kB / 0.9536 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.2609, allocations: 12.3 kB / 0.9536 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.2611, allocations: 69.97 kB / 0.9537 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.2611, allocations: 0 / 0.9537 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.2611, allocations: 4 kB / 0.9537 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2611, allocations: 0 / 0.9537 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.2613, allocations: 39.97 kB / 0.9537 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.2618, allocations: 312.7 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.262, allocations: 50.5 kB / 0.9541 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.054e-05/0.2621, allocations: 36.97 kB / 0.9541 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.2621, allocations: 7.938 kB / 0.9541 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.2623, allocations: 75.44 kB / 0.9542 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.734e-06/0.2623, allocations: 0 / 0.9542 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003696/0.2627, allocations: 149.5 kB / 0.9543 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.2627, allocations: 55.41 kB / 0.9544 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.967e-05/0.2628, allocations: 121.8 kB / 0.9545 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.2628, allocations: 37.64 kB / 0.9545 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.2629, allocations: 88.12 kB / 0.9546 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.2629, allocations: 19.75 kB / 0.9546 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.263, allocations: 25.7 kB / 0.9547 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.2631, allocations: 318.8 kB / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.293e-05/0.2632, allocations: 31.97 kB / 0.955 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.814e-05/0.2633, allocations: 50.56 kB / 0.955 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.2634, allocations: 74.47 kB / 0.9551 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2634, allocations: 0 / 0.9551 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002441/0.2637, allocations: 117.5 kB / 0.9552 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2637, allocations: 10.19 kB / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2637, allocations: 0 / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2637, allocations: 0 / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.122e-05/0.2638, allocations: 11.98 kB / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2638, allocations: 4 kB / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.416e-05/0.2639, allocations: 7.906 kB / 0.9553 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.2639, allocations: 0 / 0.9553 GB, free: 3.539 MB / 0.7325 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.955e-05/0.264, allocations: 133.8 kB / 0.9554 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.264, allocations: 3.984 kB / 0.9554 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.366e-05/0.2641, allocations: 8.375 kB / 0.9554 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2641, allocations: 0 / 0.9554 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.2641, allocations: 0 / 0.9554 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2641, allocations: 0 / 0.9554 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004164/0.2645, allocations: 390.2 kB / 0.9558 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2645, allocations: 0 / 0.9558 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.2646, allocations: 12 kB / 0.9558 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.2646, allocations: 4 kB / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.2646, allocations: 3.984 kB / 0.9558 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2646, allocations: 3.938 kB / 0.9558 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.2646, allocations: 7.922 kB / 0.9558 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.2649, allocations: 203.5 kB / 0.956 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.2649, allocations: 85 kB / 0.9561 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.2649, allocations: 4 kB / 0.9561 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.265, allocations: 4 kB / 0.9561 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.2651, allocations: 11.92 kB / 0.9561 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.2651, allocations: 4 kB / 0.9561 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.274e-05/0.2651, allocations: 99.2 kB / 0.9562 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2652, allocations: 3.938 kB / 0.9562 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002884/0.2654, allocations: 36 kB / 0.9562 GB, free: 2.441 MB / 0.7325 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.0003024/0.2658, allocations: 160 kB / 0.9564 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.266, allocations: 71.89 kB / 0.9564 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.266, allocations: 0 / 0.9564 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.261e-05/0.2661, allocations: 39.97 kB / 0.9565 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.2664, allocations: 8.109 kB / 0.9565 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.2667, allocations: 213.5 kB / 0.9567 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.267, allocations: 0.6936 MB / 0.9574 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.267, allocations: 15.44 kB / 0.9574 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.267, allocations: 4 kB / 0.9574 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of Templates: time 0.003204/0.2702, allocations: 1.608 MB / 0.959 GB, free: 15.58 MB / 0.7481 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