Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009305/0.0009305, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006234/0.006234, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.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.394/2.394, allocations: 390.9 MB / 0.6663 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.000366, allocations: 8 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7362/0.7366, allocations: 142.4 MB / 0.955 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001847/0.7385, allocations: 1.196 MB / 0.9562 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.7399, allocations: 0.7211 MB / 0.9569 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.822e-05/0.74, allocations: 1.062 kB / 0.9569 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.308e-05/0.74, allocations: 0 / 0.9569 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.068e-05/0.7401, allocations: 10 kB / 0.9569 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006463/0.7408, allocations: 103.9 kB / 0.957 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.7409, allocations: 75.19 kB / 0.9571 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.741, allocations: 13.45 kB / 0.9571 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.7411, allocations: 33.23 kB / 0.9571 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.347e-05/0.7412, allocations: 35.72 kB / 0.9572 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.7413, allocations: 7.281 kB / 0.9572 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000233/0.7415, allocations: 93.34 kB / 0.9573 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.637e-05/0.7415, allocations: 15.31 kB / 0.9573 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.7416, allocations: 49.34 kB / 0.9573 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.7418, allocations: 140.1 kB / 0.9575 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7418, allocations: 0 / 0.9575 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7419, allocations: 0 / 0.9575 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.7419, allocations: 5.156 kB / 0.9575 GB, free: 5.828 MB / 0.7169 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.0005505/0.7424, allocations: 409.2 kB / 0.9579 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.7425, allocations: 8.625 kB / 0.9579 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.7425, allocations: 9.25 kB / 0.9579 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.053e-05/0.7426, allocations: 175.3 kB / 0.958 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.7427, allocations: 11.7 kB / 0.958 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.7427, allocations: 3.719 kB / 0.9581 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.7429, allocations: 79.11 kB / 0.9581 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.7429, allocations: 0 / 0.9581 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.7429, allocations: 9.328 kB / 0.9581 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.7429, allocations: 0 / 0.9581 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.7431, allocations: 38.61 kB / 0.9582 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.7436, allocations: 325.5 kB / 0.9585 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.7438, allocations: 52.09 kB / 0.9585 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.034e-05/0.7439, allocations: 39.28 kB / 0.9586 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.7439, allocations: 0 / 0.9586 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.7441, allocations: 80.11 kB / 0.9586 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.7441, allocations: 0 / 0.9586 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004292/0.7445, allocations: 157.2 kB / 0.9588 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.7446, allocations: 57.02 kB / 0.9589 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.313e-05/0.7447, allocations: 117.4 kB / 0.959 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.7447, allocations: 31.2 kB / 0.959 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.7447, allocations: 89.48 kB / 0.9591 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.7448, allocations: 19.08 kB / 0.9591 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.7448, allocations: 22.19 kB / 0.9591 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.332e-05/0.7449, allocations: 320.1 kB / 0.9594 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-05/0.745, allocations: 33.98 kB / 0.9595 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.912e-05/0.7451, allocations: 51.67 kB / 0.9595 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.7452, allocations: 78.38 kB / 0.9596 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.7453, allocations: 0 / 0.9596 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002554/0.7455, allocations: 126.7 kB / 0.9597 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.7455, allocations: 5.5 kB / 0.9597 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.7456, allocations: 1.375 kB / 0.9597 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.7456, allocations: 1.375 kB / 0.9597 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.834e-05/0.7457, allocations: 16.17 kB / 0.9597 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.7457, allocations: 5.312 kB / 0.9597 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.496e-05/0.7458, allocations: 9.438 kB / 0.9597 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.7458, allocations: 12.11 kB / 0.9597 GB, free: 3.68 MB / 0.7169 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 7.303e-05/0.7459, allocations: 121.9 kB / 0.9599 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.7459, allocations: 6.656 kB / 0.9599 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.7459, allocations: 11.12 kB / 0.9599 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.7459, allocations: 0 / 0.9599 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.746, allocations: 1.375 kB / 0.9599 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.746, allocations: 0 / 0.9599 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/0.7463, allocations: 384.4 kB / 0.9603 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7464, allocations: 0 / 0.9603 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.7464, allocations: 8.109 kB / 0.9603 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.7464, allocations: 1.375 kB / 0.9603 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.7464, allocations: 1.375 kB / 0.9603 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.7464, allocations: 0 / 0.9603 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7464, allocations: 3.938 kB / 0.9603 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.7467, allocations: 227.7 kB / 0.9605 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.7467, allocations: 82.39 kB / 0.9606 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.7468, allocations: 1.375 kB / 0.9606 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.065e-05/0.7468, allocations: 8.109 kB / 0.9606 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.7469, allocations: 18.62 kB / 0.9606 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.7469, allocations: 2.75 kB / 0.9606 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.971e-05/0.747, allocations: 97.55 kB / 0.9607 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.747, allocations: 0 / 0.9607 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003164/0.7473, allocations: 43.42 kB / 0.9607 GB, free: 2.766 MB / 0.7169 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.0003682/0.7477, allocations: 162.1 kB / 0.9609 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.7479, allocations: 80.03 kB / 0.961 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7479, allocations: 0 / 0.961 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.937e-05/0.748, allocations: 39.34 kB / 0.961 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.7483, allocations: 6.75 kB / 0.961 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/0.7487, allocations: 216.2 kB / 0.9612 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.7488, allocations: 0.688 MB / 0.9619 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.758e-05/0.7489, allocations: 3.656 kB / 0.9619 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.7489, allocations: 11.19 kB / 0.9619 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of SimCode: time 1.263e-06/0.7489, allocations: 4 kB / 0.9619 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of Templates: time 0.004475/0.7534, allocations: 1.353 MB / 0.9632 GB, free: 0.9922 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,hea.TOut,hea.occ,hea.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.samplePeriod,hea.seed,hea.t0,occ.startTime,occ.startValue,time