Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_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_9_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.001036/0.001037, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 180.9 kB / 16.92 MB, free: 6.652 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.351/1.351, allocations: 223.3 MB / 241 MB, free: 5.27 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.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003666, allocations: 8.281 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6301/0.6305, allocations: 142.4 MB / 0.9557 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001496/0.6321, allocations: 1.204 MB / 0.9569 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.6332, allocations: 0.71 MB / 0.9576 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.6332, allocations: 0 / 0.9576 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.6333, allocations: 5.031 kB / 0.9576 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.787e-05/0.6333, allocations: 9.141 kB / 0.9576 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.6338, allocations: 108.1 kB / 0.9577 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.293e-05/0.6339, allocations: 79.52 kB / 0.9578 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.056e-05/0.634, allocations: 9.141 kB / 0.9578 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.002e-05/0.6341, allocations: 33.66 kB / 0.9578 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.3e-05/0.6342, allocations: 39.58 kB / 0.9578 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.6342, allocations: 2.469 kB / 0.9578 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.6344, allocations: 90.19 kB / 0.9579 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.6344, allocations: 14.03 kB / 0.9579 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.6344, allocations: 58.44 kB / 0.958 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.6346, allocations: 104 kB / 0.9581 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6346, allocations: 1.062 kB / 0.9581 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6346, allocations: 0 / 0.9581 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.6346, allocations: 0 / 0.9581 GB, free: 6.07 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.0004861/0.6351, allocations: 409.4 kB / 0.9585 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.6352, allocations: 9.312 kB / 0.9585 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.6352, allocations: 8.375 kB / 0.9585 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.073e-05/0.6353, allocations: 172.5 kB / 0.9587 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.6353, allocations: 6.531 kB / 0.9587 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.6353, allocations: 4.75 kB / 0.9587 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.6355, allocations: 72.03 kB / 0.9587 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.6355, allocations: 0 / 0.9587 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.6356, allocations: 7.984 kB / 0.9588 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.6356, allocations: 2.281 kB / 0.9588 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.6357, allocations: 44.77 kB / 0.9588 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.6362, allocations: 321 kB / 0.9591 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.6364, allocations: 56.16 kB / 0.9592 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.151e-05/0.6365, allocations: 34.34 kB / 0.9592 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.6365, allocations: 5.25 kB / 0.9592 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.6367, allocations: 87.69 kB / 0.9593 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.385e-06/0.6367, allocations: 0 / 0.9593 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003993/0.6371, allocations: 149.2 kB / 0.9594 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.6371, allocations: 57.73 kB / 0.9595 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.6372, allocations: 120.5 kB / 0.9596 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.6372, allocations: 34.83 kB / 0.9596 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/0.6373, allocations: 94.5 kB / 0.9597 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.6373, allocations: 18.95 kB / 0.9597 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.6373, allocations: 18.38 kB / 0.9598 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.838e-05/0.6374, allocations: 320.2 kB / 0.9601 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.074e-05/0.6375, allocations: 32.52 kB / 0.9601 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.411e-05/0.6376, allocations: 56.89 kB / 0.9601 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.6377, allocations: 74.84 kB / 0.9602 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6377, allocations: 0 / 0.9602 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002272/0.638, allocations: 122.1 kB / 0.9603 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.638, allocations: 5.688 kB / 0.9603 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.638, allocations: 1.25 kB / 0.9603 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.638, allocations: 0.9062 kB / 0.9603 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.396e-05/0.6381, allocations: 17.05 kB / 0.9604 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.6381, allocations: 1.562 kB / 0.9604 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-05/0.6382, allocations: 17.89 kB / 0.9604 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.6382, allocations: 7.031 kB / 0.9604 GB, free: 3.926 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 6.967e-05/0.6383, allocations: 122 kB / 0.9605 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.6383, allocations: 6.469 kB / 0.9605 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.6383, allocations: 6.781 kB / 0.9605 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.6384, allocations: 0 / 0.9605 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.6384, allocations: 1.469 kB / 0.9605 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6384, allocations: 3.984 kB / 0.9605 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.6387, allocations: 392.8 kB / 0.9609 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.6388, allocations: 3.984 kB / 0.9609 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.002e-05/0.6388, allocations: 8.109 kB / 0.9609 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6388, allocations: 1.375 kB / 0.9609 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.6388, allocations: 0 / 0.9609 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.6388, allocations: 1.375 kB / 0.9609 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6388, allocations: 7.938 kB / 0.9609 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.6391, allocations: 219.7 kB / 0.9611 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.6391, allocations: 82.39 kB / 0.9612 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.6392, allocations: 1.375 kB / 0.9612 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.933e-05/0.6393, allocations: 16.05 kB / 0.9612 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.6393, allocations: 6.688 kB / 0.9612 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.6393, allocations: 9.359 kB / 0.9612 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.548e-05/0.6394, allocations: 88.91 kB / 0.9613 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6394, allocations: 0 / 0.9613 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003094/0.6397, allocations: 40.86 kB / 0.9614 GB, free: 3.016 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.0003163/0.64, allocations: 160.8 kB / 0.9615 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002408/0.6403, allocations: 84.23 kB / 0.9616 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.6403, allocations: 0 / 0.9616 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.741e-05/0.6404, allocations: 43.56 kB / 0.9616 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.6406, allocations: 12.58 kB / 0.9616 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.641, allocations: 238.4 kB / 0.9619 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.6411, allocations: 0.6917 MB / 0.9625 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.6412, allocations: 11.56 kB / 0.9626 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6412, allocations: 0 / 0.9626 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of Templates: time 0.003252/0.6444, allocations: 1.605 MB / 0.9641 GB, free: 1.078 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches