Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.007609/0.007609, allocations: 101 kB / 15.87 MB, free: 5.863 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.001885/0.001885, allocations: 193.1 kB / 16.79 MB, free: 5.805 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.348/1.348, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.381/2.381, allocations: 390.2 MB / 0.6649 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.89 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6835/0.685, allocations: 140.4 MB / 0.9496 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002829/0.6879, allocations: 1.534 MB / 0.9511 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.6891, allocations: 0.7327 MB / 0.9518 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.93e-05/0.6891, allocations: 1.344 kB / 0.9518 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.61e-05/0.6891, allocations: 0 / 0.9518 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.322e-05/0.6892, allocations: 13.02 kB / 0.9518 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.6897, allocations: 108.3 kB / 0.9519 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.664e-05/0.6898, allocations: 75.86 kB / 0.952 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.281e-05/0.6899, allocations: 12.39 kB / 0.952 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.337e-05/0.69, allocations: 29.88 kB / 0.952 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.316e-05/0.69, allocations: 40.77 kB / 0.9521 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.6901, allocations: 2.812 kB / 0.9521 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.6902, allocations: 94.53 kB / 0.9521 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.6903, allocations: 14.23 kB / 0.9522 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/0.6903, allocations: 32.06 kB / 0.9522 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.6905, allocations: 100.6 kB / 0.9523 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.6905, allocations: 0 / 0.9523 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6905, allocations: 1.344 kB / 0.9523 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.6905, allocations: 0 / 0.9523 GB, free: 7.016 MB / 0.7169 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.0005529/0.6911, allocations: 424.3 kB / 0.9527 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.6911, allocations: 9.375 kB / 0.9527 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.6912, allocations: 5.062 kB / 0.9527 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.447e-05/0.6913, allocations: 184.3 kB / 0.9529 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.6913, allocations: 7.188 kB / 0.9529 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.6913, allocations: 7.203 kB / 0.9529 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.6915, allocations: 72.38 kB / 0.953 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.6915, allocations: 0 / 0.953 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.6915, allocations: 1.531 kB / 0.953 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.6916, allocations: 0 / 0.953 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.6917, allocations: 36.53 kB / 0.953 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.6922, allocations: 330.5 kB / 0.9533 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.6923, allocations: 44.06 kB / 0.9534 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.6924, allocations: 31.56 kB / 0.9534 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.6925, allocations: 1.219 kB / 0.9534 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.6926, allocations: 85.66 kB / 0.9535 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.6926, allocations: 0 / 0.9535 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004018/0.6931, allocations: 140.8 kB / 0.9536 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.6931, allocations: 57.31 kB / 0.9537 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.764e-05/0.6932, allocations: 121.2 kB / 0.9538 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.6932, allocations: 25.7 kB / 0.9538 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.6932, allocations: 95.69 kB / 0.9539 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.6933, allocations: 14.38 kB / 0.9539 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.6933, allocations: 29.39 kB / 0.9539 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.729e-05/0.6934, allocations: 325.2 kB / 0.9542 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.076e-05/0.6935, allocations: 27.14 kB / 0.9543 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.314e-05/0.6935, allocations: 43.84 kB / 0.9543 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.6937, allocations: 82.3 kB / 0.9544 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.6937, allocations: 0 / 0.9544 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002183/0.6939, allocations: 117.5 kB / 0.9545 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.694, allocations: 5.656 kB / 0.9545 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.694, allocations: 0 / 0.9545 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.694, allocations: 5.281 kB / 0.9545 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.14e-05/0.6941, allocations: 17.02 kB / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.6941, allocations: 1.547 kB / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.451e-05/0.6942, allocations: 11.75 kB / 0.9545 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.6942, allocations: 7.016 kB / 0.9545 GB, free: 4.855 MB / 0.7169 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 7.441e-05/0.6943, allocations: 121.3 kB / 0.9547 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.6943, allocations: 10.89 kB / 0.9547 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.6943, allocations: 10.91 kB / 0.9547 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.6943, allocations: 4 kB / 0.9547 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.6943, allocations: 1.25 kB / 0.9547 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.6943, allocations: 0 / 0.9547 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.6947, allocations: 383.2 kB / 0.9551 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6948, allocations: 0 / 0.9551 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.6948, allocations: 3.312 kB / 0.9551 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.6948, allocations: 4.891 kB / 0.9551 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.6948, allocations: 5.344 kB / 0.9551 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.6948, allocations: 4 kB / 0.9551 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6948, allocations: 4.969 kB / 0.9551 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.6951, allocations: 201.4 kB / 0.9553 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.6951, allocations: 86.78 kB / 0.9554 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.6952, allocations: 1.438 kB / 0.9554 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.6953, allocations: 10.62 kB / 0.9554 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.6953, allocations: 10.8 kB / 0.9554 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.6953, allocations: 5.344 kB / 0.9554 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.083e-05/0.6954, allocations: 93.55 kB / 0.9555 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6954, allocations: 0 / 0.9555 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002859/0.6957, allocations: 39.44 kB / 0.9555 GB, free: 3.949 MB / 0.7169 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.000326/0.696, allocations: 167.7 kB / 0.9557 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.6962, allocations: 73.94 kB / 0.9557 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6963, allocations: 0 / 0.9557 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.551e-05/0.6964, allocations: 32.45 kB / 0.9558 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.6966, allocations: 11.89 kB / 0.9558 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.697, allocations: 221.8 kB / 0.956 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.6971, allocations: 0.6913 MB / 0.9567 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.6972, allocations: 15.56 kB / 0.9567 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.6972, allocations: 0 / 0.9567 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of Templates: time 0.003262/0.7005, allocations: 1.614 MB / 0.9583 GB, free: 2.027 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches