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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001357/0.001357, allocations: 110.8 kB / 16.37 MB, free: 6.012 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.001458/0.001459, allocations: 191.4 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.547/2.547, allocations: 437.1 MB / 0.7112 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.64 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2803, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002808/0.2831, allocations: 1.472 MB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.2845, allocations: 0.7415 MB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.2845, allocations: 4 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.383e-05/0.2846, allocations: 3.938 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.367e-05/0.2847, allocations: 7.875 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005811/0.2852, allocations: 127.6 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.2854, allocations: 67.83 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.82e-05/0.2855, allocations: 23.92 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.288e-05/0.2856, allocations: 35.86 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.947e-05/0.2857, allocations: 39.88 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.2857, allocations: 8 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.2859, allocations: 95.84 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.2859, allocations: 15.92 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/0.286, allocations: 31.86 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.2863, allocations: 143.6 kB / 1.022 GB, free: 7.008 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2863, allocations: 7.938 kB / 1.022 GB, free: 7 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2863, allocations: 0 / 1.022 GB, free: 7 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2863, allocations: 0 / 1.022 GB, free: 7 MB / 0.795 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.0006248/0.2869, allocations: 420.9 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.287, allocations: 8.031 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.287, allocations: 8.844 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.2871, allocations: 176.2 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.2872, allocations: 12.31 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.2872, allocations: 4.375 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.2874, allocations: 69.97 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.2874, allocations: 0 / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2874, allocations: 4 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2874, allocations: 0 / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.2875, allocations: 39.97 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005985/0.2882, allocations: 316.8 kB / 1.023 GB, free: 5.816 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.2883, allocations: 54.5 kB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.049e-05/0.2884, allocations: 32.97 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.2884, allocations: 4 kB / 1.023 GB, free: 5.715 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.2886, allocations: 75.44 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.2886, allocations: 4 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003849/0.289, allocations: 141.5 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.289, allocations: 51.41 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/0.2891, allocations: 121.8 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.2892, allocations: 29.7 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.2892, allocations: 88.14 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.2892, allocations: 19.73 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.2893, allocations: 33.7 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.2894, allocations: 318.8 kB / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.2895, allocations: 27.98 kB / 1.024 GB, free: 4.758 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.305e-05/0.2896, allocations: 54.48 kB / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.2897, allocations: 78.47 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2898, allocations: 0 / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002294/0.29, allocations: 105.5 kB / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.29, allocations: 14.95 kB / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.29, allocations: 0 / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.29, allocations: 0 / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.2901, allocations: 12 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2902, allocations: 8.453 kB / 1.024 GB, free: 4.469 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.997e-05/0.2902, allocations: 11.89 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.2903, allocations: 0 / 1.024 GB, free: 4.457 MB / 0.795 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.881e-05/0.2903, allocations: 126.2 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.2904, allocations: 0 / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.2904, allocations: 20.3 kB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2904, allocations: 0 / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2904, allocations: 0 / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2904, allocations: 4 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.2909, allocations: 394.2 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2909, allocations: 0 / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.813e-05/0.2909, allocations: 4 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.2909, allocations: 4 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.291, allocations: 3.984 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.291, allocations: 0 / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.291, allocations: 3.938 kB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.2912, allocations: 215.4 kB / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.2913, allocations: 77.11 kB / 1.025 GB, free: 3.523 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.2913, allocations: 0 / 1.025 GB, free: 3.523 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-05/0.2914, allocations: 7.984 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.2914, allocations: 15.88 kB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.2915, allocations: 3.984 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.2915, allocations: 99.86 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2915, allocations: 4 kB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002958/0.2918, allocations: 36 kB / 1.025 GB, free: 3.359 MB / 0.795 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.0003122/0.2921, allocations: 156.9 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.2924, allocations: 71.95 kB / 1.025 GB, free: 3.141 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2924, allocations: 4.062 kB / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.424e-05/0.2925, allocations: 31.98 kB / 1.025 GB, free: 3.105 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.2928, allocations: 7.984 kB / 1.025 GB, free: 3.098 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.2932, allocations: 184.9 kB / 1.025 GB, free: 2.887 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.2934, allocations: 0.6923 MB / 1.026 GB, free: 2.168 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.385e-05/0.2934, allocations: 4 kB / 1.026 GB, free: 2.164 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.2935, allocations: 11.44 kB / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of SimCode: time 3.31e-07/0.2935, allocations: 0 / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of Templates: time 0.004437/0.2979, allocations: 1.457 MB / 1.027 GB, free: 0.6992 MB / 0.795 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 -s gbode -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/jenkins1/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