Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.01044/0.01044, allocations: 97.69 kB / 15.73 MB, free: 5.961 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.001678/0.001678, allocations: 195 kB / 16.67 MB, free: 5.883 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.401/1.401, 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 10.1.1-maint.10.0.x/package.mo): time 2.441/2.441, allocations: 437 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.84 kB / 1.018 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9866/0.988, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002719/0.9907, allocations: 1.48 MB / 1.168 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.9922, allocations: 0.7284 MB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.9923, allocations: 0 / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.401e-05/0.9923, allocations: 3.938 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.785e-05/0.9924, allocations: 15.86 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005595/0.993, allocations: 119.6 kB / 1.169 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.9931, allocations: 83.7 kB / 1.169 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.931e-05/0.9932, allocations: 12 kB / 1.169 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.003e-05/0.9933, allocations: 31.91 kB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.511e-05/0.9934, allocations: 43.83 kB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.9934, allocations: 8 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.9936, allocations: 91.84 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.9936, allocations: 19.97 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.081e-05/0.9937, allocations: 35.8 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.994, allocations: 140.1 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.994, allocations: 4 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.568e-06/0.994, allocations: 0 / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.994, allocations: 3.938 kB / 1.169 GB, free: 1.016 MB / 0.8887 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.0006803/0.9947, allocations: 424.7 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.9947, allocations: 11.97 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.9948, allocations: 8.891 kB / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.9949, allocations: 168.3 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.995, allocations: 8.375 kB / 1.17 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.995, allocations: 8.375 kB / 1.17 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.9952, allocations: 77.94 kB / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.9952, allocations: 0 / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.9952, allocations: 0 / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.9953, allocations: 4 kB / 1.17 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.9954, allocations: 39.91 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000642/0.996, allocations: 320.7 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.9962, allocations: 42.56 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.65e-05/0.9963, allocations: 32.97 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.9963, allocations: 0 / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.9965, allocations: 83.31 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 7.123e-06/0.9966, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004168/0.997, allocations: 149.6 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.9971, allocations: 55.39 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.9972, allocations: 121.8 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.9972, allocations: 29.7 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.9973, allocations: 96.08 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.9973, allocations: 15.91 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.9973, allocations: 29.7 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.9975, allocations: 318.8 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.509e-05/0.9976, allocations: 31.97 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.9977, allocations: 46.5 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.9979, allocations: 74.55 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9979, allocations: 0 / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002413/0.9981, allocations: 117.5 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.9982, allocations: 4 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.9982, allocations: 4 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.9982, allocations: 0 / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.894e-05/0.9983, allocations: 15.92 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.9983, allocations: 4.062 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.9984, allocations: 7.938 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.9984, allocations: 4 kB / 1.172 GB, free: 14.46 MB / 0.9044 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 0.0001112/0.9985, allocations: 121.8 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.9986, allocations: 11.94 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.449e-05/0.9986, allocations: 12.36 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.9986, allocations: 0 / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.9986, allocations: 0 / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.9986, allocations: 7.938 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.9991, allocations: 386.3 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9991, allocations: 0 / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.742e-05/0.9992, allocations: 4 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.9992, allocations: 0 / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.9992, allocations: 7.984 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.9992, allocations: 0 / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.9992, allocations: 3.938 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.9995, allocations: 211.4 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.9996, allocations: 85.06 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.9996, allocations: 3.984 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.412e-05/0.9997, allocations: 4 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.9997, allocations: 7.922 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.9998, allocations: 12 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.317e-05/0.9998, allocations: 91.27 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9998, allocations: 4 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003114/1, allocations: 35.94 kB / 1.173 GB, free: 13.37 MB / 0.9044 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.0003644/1.001, allocations: 160 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002554/1.001, allocations: 79.94 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.001, allocations: 3.938 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.949e-05/1.001, allocations: 31.98 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/1.001, allocations: 16.2 kB / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/1.002, allocations: 192.7 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/1.002, allocations: 0.6924 MB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.695e-05/1.002, allocations: 4 kB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/1.002, allocations: 15.42 kB / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/1.002, allocations: 0 / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of Templates: time 0.004136/1.006, allocations: 1.457 MB / 1.175 GB, free: 10.69 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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