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.001098/0.001098, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001035/0.001035, allocations: 193.3 kB / 17.31 MB, free: 5.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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.455/2.455, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001238, allocations: 60.06 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.282, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002586/0.2847, allocations: 1.482 MB / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.2859, allocations: 0.7438 MB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.2859, allocations: 0 / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.286, allocations: 3.938 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.309e-05/0.286, allocations: 11.88 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.2866, allocations: 115.6 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.2867, allocations: 91.69 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.545e-05/0.2868, allocations: 8 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.129e-05/0.2869, allocations: 31.92 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.372e-05/0.287, allocations: 43.88 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.287, allocations: 8 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.2872, allocations: 87.84 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.2872, allocations: 19.92 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.2873, allocations: 35.86 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.2875, allocations: 147.5 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2875, allocations: 0 / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2875, allocations: 0 / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.2875, allocations: 0 / 1.029 GB, free: 15.26 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.0005808/0.2881, allocations: 428.8 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.2882, allocations: 8.031 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.2882, allocations: 8.844 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.2883, allocations: 172.2 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.2884, allocations: 8.375 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.2884, allocations: 4.375 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.2886, allocations: 69.97 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.2886, allocations: 0 / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.2886, allocations: 7.984 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2886, allocations: 7.984 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.2887, allocations: 35.92 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005689/0.2893, allocations: 316.8 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.2894, allocations: 42.56 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.11e-05/0.2895, allocations: 40.97 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.2895, allocations: 0 / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.2897, allocations: 91.36 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.2897, allocations: 0 / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.000364/0.2901, allocations: 137.5 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.2902, allocations: 55.39 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.636e-05/0.2903, allocations: 117.8 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.2903, allocations: 29.7 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.2903, allocations: 96.03 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.2904, allocations: 15.84 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.2904, allocations: 33.64 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2905, allocations: 318.8 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.554e-05/0.2906, allocations: 31.97 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.413e-05/0.2907, allocations: 50.88 kB / 1.032 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.2909, allocations: 78.53 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2909, allocations: 0 / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002278/0.2911, allocations: 113.5 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2911, allocations: 6.812 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2911, allocations: 4 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2911, allocations: 0 / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.282e-05/0.2912, allocations: 16 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2913, allocations: 3.984 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.339e-05/0.2913, allocations: 7.906 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.2913, allocations: 4 kB / 1.032 GB, free: 12.7 MB / 0.8106 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.05e-05/0.2914, allocations: 129.1 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.2915, allocations: 7.906 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.2915, allocations: 8.359 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2915, allocations: 4 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2915, allocations: 4 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2915, allocations: 3.938 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.292, allocations: 386.3 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.292, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.292, allocations: 4 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.292, allocations: 0 / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.292, allocations: 3.984 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.292, allocations: 4 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.292, allocations: 3.938 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.2923, allocations: 215.3 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.2924, allocations: 81.11 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.2924, allocations: 3.984 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.72e-05/0.2925, allocations: 4 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.2925, allocations: 7.922 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.2925, allocations: 8 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.2926, allocations: 95.27 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2926, allocations: 0 / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002811/0.2929, allocations: 39.91 kB / 1.033 GB, free: 11.61 MB / 0.8106 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.0002822/0.2932, allocations: 155.7 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.2934, allocations: 83.83 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2934, allocations: 0 / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.754e-05/0.2935, allocations: 39.91 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.2938, allocations: 14.17 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.2941, allocations: 169 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.2944, allocations: 0.6925 MB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.088e-05/0.2944, allocations: 4 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.2944, allocations: 11.44 kB / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.2944, allocations: 0 / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.003609/0.298, allocations: 1.45 MB / 1.035 GB, free: 8.953 MB / 0.8106 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 -s gbode -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) "" 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