Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_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_latest_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.001113/0.001113, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001652, allocations: 180.6 kB / 16.92 MB, free: 6.652 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.361/1.361, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.713/2.713, allocations: 462.7 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003831, allocations: 8.688 kB / 0.9034 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3073, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001943/0.3093, allocations: 1.202 MB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.3106, allocations: 0.7168 MB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.768e-05/0.3107, allocations: 4 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.3107, allocations: 0 / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.519e-05/0.3108, allocations: 23.78 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.3113, allocations: 103.8 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.3114, allocations: 63.84 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.187e-05/0.3115, allocations: 11.98 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.126e-05/0.3116, allocations: 31.86 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.755e-05/0.3116, allocations: 39.83 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.3117, allocations: 4 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.3119, allocations: 83.91 kB / 1.062 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.3119, allocations: 15.92 kB / 1.062 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.437e-05/0.312, allocations: 61.48 kB / 1.062 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.3121, allocations: 100 kB / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.3122, allocations: 0 / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3122, allocations: 0 / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.3122, allocations: 0 / 1.062 GB, free: 2.477 MB / 0.8106 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.0005823/0.3128, allocations: 405.1 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3128, allocations: 15.97 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.3129, allocations: 8.844 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.313, allocations: 188.1 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.313, allocations: 4.375 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.313, allocations: 8.375 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.3132, allocations: 77.95 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.3133, allocations: 0 / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.3133, allocations: 0 / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3133, allocations: 4 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.3134, allocations: 39.97 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006242/0.3141, allocations: 328.6 kB / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.3142, allocations: 50.56 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.724e-05/0.3143, allocations: 36.95 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.3143, allocations: 4 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/0.3146, allocations: 79.38 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.3146, allocations: 3.938 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004011/0.315, allocations: 145.7 kB / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.315, allocations: 55.41 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.438e-05/0.3151, allocations: 125.7 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.3152, allocations: 25.7 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.3152, allocations: 92.14 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.3153, allocations: 11.75 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.3153, allocations: 21.7 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3154, allocations: 326.8 kB / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.903e-05/0.3155, allocations: 31.97 kB / 1.064 GB, free: 212 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.789e-05/0.3156, allocations: 46.56 kB / 1.064 GB, free: 156 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.3158, allocations: 90.42 kB / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3158, allocations: 0 / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002939/0.3161, allocations: 121.5 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3162, allocations: 5.25 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.3162, allocations: 4.062 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3162, allocations: 7.984 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.63e-05/0.3163, allocations: 15.92 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3163, allocations: 0 / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.886e-05/0.3164, allocations: 8 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.3164, allocations: 4 kB / 1.064 GB, free: 15.89 MB / 0.8262 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 9.812e-05/0.3165, allocations: 127.2 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.3165, allocations: 15.89 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.3166, allocations: 4.375 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3166, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3166, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3166, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.3171, allocations: 394.3 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3171, allocations: 4 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.3171, allocations: 4 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3171, allocations: 0 / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.3172, allocations: 7.984 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3172, allocations: 0 / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.3172, allocations: 3.938 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.3175, allocations: 219.8 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.172e-05/0.3175, allocations: 85 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.3176, allocations: 4 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.098e-05/0.3177, allocations: 8 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.3177, allocations: 7.922 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.3177, allocations: 4 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.42e-05/0.3178, allocations: 95.92 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3178, allocations: 0 / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002991/0.3181, allocations: 36 kB / 1.065 GB, free: 14.79 MB / 0.8262 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.0003421/0.3184, allocations: 165.8 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.3187, allocations: 83.95 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3187, allocations: 0 / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.3188, allocations: 35.98 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.3191, allocations: 8.734 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.3195, allocations: 244.8 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.3198, allocations: 0.6848 MB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.3198, allocations: 15.42 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3198, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.003822/0.3236, allocations: 1.598 MB / 1.068 GB, free: 11.91 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches