Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006926/0.006927, allocations: 101.2 kB / 15.88 MB, free: 6.328 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.00201/0.00201, allocations: 195.6 kB / 16.79 MB, free: 6.254 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.34/1.34, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.698/2.698, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 65.83 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.276, allocations: 157.4 MB / 1.053 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002758/0.2788, allocations: 1.544 MB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.2801, allocations: 0.7439 MB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.187e-05/0.2802, allocations: 4 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.33e-05/0.2802, allocations: 3.938 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-05/0.2803, allocations: 11.92 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005234/0.2808, allocations: 99.77 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.281, allocations: 67.84 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.783e-05/0.2811, allocations: 15.97 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.2812, allocations: 39.8 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.676e-05/0.2813, allocations: 31.89 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.2813, allocations: 4 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.2815, allocations: 87.91 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.2815, allocations: 19.92 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.2816, allocations: 23.86 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.2817, allocations: 108 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2818, allocations: 0 / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.609e-06/0.2818, allocations: 4 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2818, allocations: 3.938 kB / 1.055 GB, free: 5.523 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.0006264/0.2824, allocations: 413 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2825, allocations: 12.03 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.2825, allocations: 8.844 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.2826, allocations: 176.2 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.2827, allocations: 4.375 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.2827, allocations: 4.375 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.2829, allocations: 69.97 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2829, allocations: 0 / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.283, allocations: 8 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.283, allocations: 0 / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.2831, allocations: 39.91 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006203/0.2837, allocations: 320.7 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.2839, allocations: 50.55 kB / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.595e-05/0.284, allocations: 32.97 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.284, allocations: 3.984 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.2842, allocations: 79.31 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.2842, allocations: 0 / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004126/0.2846, allocations: 141.8 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.2847, allocations: 59.39 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.2848, allocations: 121.8 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.2848, allocations: 29.7 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.2849, allocations: 88.14 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.2849, allocations: 19.69 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.285, allocations: 25.7 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2851, allocations: 330.8 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.872e-05/0.2852, allocations: 23.98 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.2853, allocations: 54.48 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.2855, allocations: 66.56 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2855, allocations: 4 kB / 1.058 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002437/0.2857, allocations: 113.5 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2858, allocations: 5.094 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2858, allocations: 0 / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.2858, allocations: 4 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.2859, allocations: 15.92 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.2859, allocations: 0 / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.348e-05/0.286, allocations: 7.906 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.286, allocations: 12.05 kB / 1.058 GB, free: 2.98 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.642e-05/0.2861, allocations: 121.8 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.2861, allocations: 4 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.2862, allocations: 4.375 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2862, allocations: 4 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2862, allocations: 4 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2862, allocations: 3.984 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004853/0.2867, allocations: 390.3 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2867, allocations: 0 / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.2868, allocations: 7.984 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2868, allocations: 0 / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.2868, allocations: 0 / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2868, allocations: 0 / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.2868, allocations: 3.938 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.2871, allocations: 227.3 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.2872, allocations: 77.11 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.2872, allocations: 4 kB / 1.059 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.2873, allocations: 7.922 kB / 1.059 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.2873, allocations: 7.938 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.2874, allocations: 8 kB / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.975e-05/0.2874, allocations: 91.27 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2874, allocations: 0 / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003012/0.2877, allocations: 39.98 kB / 1.059 GB, free: 1.895 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.000342/0.2881, allocations: 160 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.2883, allocations: 79.88 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2883, allocations: 0 / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.2884, allocations: 36.11 kB / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.2887, allocations: 13.83 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.2891, allocations: 224.2 kB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.2894, allocations: 0.6926 MB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.2894, allocations: 11.44 kB / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of SimCode: time 4.41e-07/0.2894, allocations: 0 / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of Templates: time 0.003345/0.2928, allocations: 1.621 MB / 1.061 GB, free: 15.02 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches