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.006391/0.006391, allocations: 102.9 kB / 15.73 MB, free: 5.984 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.001261/0.001261, allocations: 195.2 kB / 16.67 MB, free: 5.91 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.2/2.2, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.89 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9031/0.9044, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002857/0.9073, allocations: 1.475 MB / 1.089 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.9086, allocations: 0.7359 MB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.9087, allocations: 0.9375 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.9088, allocations: 5.203 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.9088, allocations: 14.23 kB / 1.09 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006498/0.9095, allocations: 121.5 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.9096, allocations: 82.38 kB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.9098, allocations: 15.69 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.404e-05/0.9099, allocations: 35.12 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.215e-05/0.9099, allocations: 32.28 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.91, allocations: 7.438 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.9102, allocations: 97.25 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.103e-05/0.9102, allocations: 23.58 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.9103, allocations: 33.3 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003591/0.9107, allocations: 137.7 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.9107, allocations: 0 / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9107, allocations: 0 / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.9107, allocations: 1.125 kB / 1.091 GB, free: 3.742 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.0007222/0.9114, allocations: 424.4 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.9115, allocations: 9.531 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.9116, allocations: 8.406 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.9117, allocations: 182.2 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.9117, allocations: 3.219 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.9118, allocations: 4.062 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.912, allocations: 76.91 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.912, allocations: 0 / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.912, allocations: 1.641 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.9121, allocations: 5.062 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.9122, allocations: 35.53 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.9128, allocations: 322.2 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.913, allocations: 46.34 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.787e-05/0.9131, allocations: 31.72 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.9131, allocations: 1.594 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.9133, allocations: 80.95 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.9133, allocations: 0.75 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004316/0.9138, allocations: 140.8 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.9138, allocations: 54.02 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.542e-05/0.9139, allocations: 122.8 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.9139, allocations: 27.39 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.914, allocations: 96.11 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.914, allocations: 12.19 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/0.914, allocations: 28.81 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.898e-05/0.9141, allocations: 324.3 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.531e-05/0.9142, allocations: 26.36 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.564e-05/0.9143, allocations: 47.11 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.9145, allocations: 80.12 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.9145, allocations: 0.9375 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002352/0.9147, allocations: 116.5 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.9147, allocations: 5.688 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.9147, allocations: 1 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.9148, allocations: 4.938 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.9149, allocations: 11.86 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.9149, allocations: 5.578 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.915, allocations: 13.28 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.915, allocations: 7.828 kB / 1.093 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 7.213e-05/0.9151, allocations: 119.9 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.9151, allocations: 7.031 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.9151, allocations: 18.39 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.9151, allocations: 1 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.9151, allocations: 1.516 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.9151, allocations: 0.7969 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.9156, allocations: 378.4 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.9156, allocations: 0 / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.9156, allocations: 5.125 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.9156, allocations: 0.9688 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.9156, allocations: 2.906 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.9157, allocations: 4.875 kB / 1.093 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9157, allocations: 3.938 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.9159, allocations: 207.7 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.916, allocations: 88.31 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.916, allocations: 1.375 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.814e-05/0.9161, allocations: 8.266 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.9161, allocations: 17.25 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.9162, allocations: 3.109 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.158e-05/0.9162, allocations: 92.97 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9162, allocations: 0 / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003261/0.9165, allocations: 45.47 kB / 1.094 GB, free: 0.8906 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.0003248/0.9169, allocations: 163.8 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002925/0.9172, allocations: 73.03 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9172, allocations: 0 / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.9173, allocations: 32.94 kB / 1.094 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.9176, allocations: 11.36 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.9181, allocations: 193.2 kB / 1.094 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.9183, allocations: 0.6875 MB / 1.095 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.901e-05/0.9184, allocations: 8.266 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.9184, allocations: 11.55 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.9184, allocations: 0.7188 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of Templates: time 0.006208/0.9246, allocations: 1.479 MB / 1.096 GB, free: 15.72 MB / 0.8731 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