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.007622/0.007622, allocations: 100.3 kB / 15.73 MB, free: 6.066 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.00175/0.001751, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.204/2.204, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.91 kB / 0.9508 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9055/0.9069, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002403/0.9094, allocations: 1.475 MB / 1.089 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.9108, allocations: 0.7354 MB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.9109, allocations: 0.8438 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.102e-05/0.9109, allocations: 5.531 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.7e-05/0.911, allocations: 10.45 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000616/0.9116, allocations: 121.9 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.9117, allocations: 77.66 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.9119, allocations: 15.23 kB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.659e-05/0.912, allocations: 39.36 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.737e-05/0.9121, allocations: 37.42 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.9121, allocations: 6.969 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.9123, allocations: 89.75 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.18e-05/0.9123, allocations: 18.97 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.204e-05/0.9124, allocations: 35.45 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.9127, allocations: 143.1 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9127, allocations: 4.703 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9127, allocations: 1.094 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.9127, allocations: 0 / 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.0005852/0.9133, allocations: 426 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.9133, allocations: 9.469 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.9134, allocations: 9.469 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.205e-05/0.9135, allocations: 173.8 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.9135, allocations: 2.562 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.9135, allocations: 8.703 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.9137, allocations: 76.3 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.9138, allocations: 0.9688 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.9138, allocations: 0 / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.9138, allocations: 1.859 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.9139, allocations: 35.38 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/0.9145, allocations: 322.9 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.9147, allocations: 54.03 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.509e-05/0.9148, allocations: 35.91 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.9148, allocations: 5.125 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.915, allocations: 73.05 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.915, allocations: 4.781 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004578/0.9155, allocations: 140.8 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.9155, allocations: 58.02 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.9156, allocations: 119.2 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.9156, allocations: 27.09 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.9157, allocations: 92.2 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.9157, allocations: 16.33 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.9158, allocations: 33.14 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.522e-05/0.9158, allocations: 327.1 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.954e-05/0.9159, allocations: 27.81 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.603e-05/0.916, allocations: 45.55 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.9162, allocations: 76.72 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9162, allocations: 0.7969 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002425/0.9165, allocations: 108.3 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.9165, allocations: 6.234 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.9165, allocations: 0 / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.9165, allocations: 2.922 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.9166, allocations: 14.48 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.9166, allocations: 6.219 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.01e-05/0.9167, allocations: 13.09 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.9167, allocations: 3.547 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 8.455e-05/0.9168, allocations: 124.4 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.9169, allocations: 6.266 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.9169, allocations: 15.64 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.9169, allocations: 0.8125 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.9169, allocations: 0.5156 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.9169, allocations: 5.531 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/0.9173, allocations: 378.2 kB / 1.093 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9174, allocations: 1.156 kB / 1.093 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/0.9174, allocations: 8.469 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.9174, allocations: 1.859 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.9174, allocations: 0.8438 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.9174, allocations: 1.156 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.9174, allocations: 4.547 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.9177, allocations: 211.5 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.9178, allocations: 84.09 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.9178, allocations: 5.516 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.973e-05/0.9179, allocations: 4.422 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.9179, allocations: 12.33 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.918, allocations: 3.797 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.177e-05/0.918, allocations: 96.16 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.918, allocations: 0 / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003413/0.9184, allocations: 38.27 kB / 1.094 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.0003475/0.9187, allocations: 169 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002611/0.919, allocations: 76.28 kB / 1.094 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.919, allocations: 0 / 1.094 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.9191, allocations: 41.98 kB / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.9194, allocations: 4.344 kB / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/0.9198, allocations: 184.5 kB / 1.094 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.92, allocations: 0.6904 MB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.528e-05/0.9201, allocations: 9.344 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.9201, allocations: 11.58 kB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.9201, allocations: 0 / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of Templates: time 0.005488/0.9256, allocations: 1.46 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