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.001305/0.001305, allocations: 100.1 kB / 15.88 MB, free: 12 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.001448/0.001448, allocations: 202 kB / 16.79 MB, free: 6.828 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.335/1.335, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.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.574/2.574, allocations: 437 MB / 0.7106 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 67.89 kB / 0.8692 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6004/0.6019, allocations: 151.6 MB / 1.017 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003439/0.6054, allocations: 1.538 MB / 1.019 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.607, allocations: 0.7362 MB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.344e-05/0.6071, allocations: 4 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.436e-05/0.6071, allocations: 3.938 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.476e-05/0.6072, allocations: 7.922 kB / 1.02 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006502/0.6079, allocations: 107.8 kB / 1.02 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.608, allocations: 71.78 kB / 1.02 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.6082, allocations: 15.94 kB / 1.02 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.6083, allocations: 31.89 kB / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.989e-05/0.6084, allocations: 35.84 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.6084, allocations: 4 kB / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000247/0.6086, allocations: 87.91 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.6087, allocations: 23.86 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.345e-05/0.6088, allocations: 31.84 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.609, allocations: 93.81 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.609, allocations: 0 / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of FrontEnd: time 9.72e-07/0.609, allocations: 0 / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.609, allocations: 0 / 1.02 GB, free: 44 kB / 0.7637 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.000726/0.6098, allocations: 417 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.6098, allocations: 8.031 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.6099, allocations: 12.84 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.61, allocations: 188.1 kB / 1.021 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.61, allocations: 4.375 kB / 1.021 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.61, allocations: 4.375 kB / 1.021 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.6102, allocations: 69.97 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.6102, allocations: 0 / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.6103, allocations: 0 / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.6103, allocations: 7.984 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.6104, allocations: 39.91 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.611, allocations: 312.8 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.6112, allocations: 46.56 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.114e-05/0.6112, allocations: 28.97 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.6113, allocations: 15.92 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.6115, allocations: 75.31 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.6115, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003959/0.6119, allocations: 145.6 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.6119, allocations: 51.41 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.685e-05/0.612, allocations: 125.8 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.6121, allocations: 33.69 kB / 1.022 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.6121, allocations: 88.14 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.6121, allocations: 15.81 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.6122, allocations: 29.7 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.736e-05/0.6123, allocations: 318.8 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.389e-05/0.6124, allocations: 31.92 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.288e-05/0.6125, allocations: 46.56 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.6126, allocations: 70.55 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6126, allocations: 3.938 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002395/0.6129, allocations: 117.5 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.6129, allocations: 13.47 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.6129, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.6129, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.802e-05/0.6131, allocations: 15.92 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.6131, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.136e-05/0.6131, allocations: 11.84 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.6132, allocations: 4 kB / 1.022 GB, free: 13.49 MB / 0.7794 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.849e-05/0.6133, allocations: 126.3 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.6133, allocations: 4 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.6133, allocations: 16.38 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.6133, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.6133, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.6133, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.6138, allocations: 382.3 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.6138, allocations: 0 / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.6138, allocations: 7.984 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.6139, allocations: 4 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.6139, allocations: 4 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6139, allocations: 0 / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6139, allocations: 3.938 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.6142, allocations: 211.3 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.6142, allocations: 81.11 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.6143, allocations: 0 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/0.6144, allocations: 8 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.6144, allocations: 15.92 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.6144, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.604e-05/0.6145, allocations: 95.2 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6145, allocations: 4 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003047/0.6148, allocations: 43.92 kB / 1.023 GB, free: 12.4 MB / 0.7794 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.0003232/0.6151, allocations: 166.5 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.6154, allocations: 67.91 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.6154, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.6155, allocations: 39.91 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.6157, allocations: 12 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.6162, allocations: 224.5 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.6164, allocations: 0.6848 MB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.6164, allocations: 15.42 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.6164, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of Templates: time 0.003459/0.6199, allocations: 1.613 MB / 1.026 GB, free: 9.535 MB / 0.7794 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches