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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001672/0.001672, allocations: 111.3 kB / 15.99 MB, free: 6.344 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.00156/0.001561, allocations: 194.6 kB / 16.91 MB, free: 6.184 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.46/1.46, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.518/2.518, allocations: 437 MB / 0.7107 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002742/0.002742, allocations: 71.59 kB / 0.8694 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3209, allocations: 151.6 MB / 1.017 GB, free: 11.03 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003113/0.3241, allocations: 1.538 MB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3255, allocations: 0.7245 MB / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.3255, allocations: 7.875 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.753e-05/0.3256, allocations: 7.984 kB / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.424e-05/0.3257, allocations: 7.938 kB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.3263, allocations: 107.8 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.3264, allocations: 75.77 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.86e-05/0.3265, allocations: 15.98 kB / 1.02 GB, free: 8.527 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.255e-05/0.3266, allocations: 27.92 kB / 1.02 GB, free: 8.5 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.938e-05/0.3267, allocations: 43.81 kB / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.3267, allocations: 12 kB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.3269, allocations: 95.84 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.327, allocations: 19.92 kB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.709e-05/0.327, allocations: 27.86 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.3272, allocations: 108 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3272, allocations: 0 / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3272, allocations: 0 / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3272, allocations: 0 / 1.02 GB, free: 8.199 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.0006938/0.3279, allocations: 417 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.328, allocations: 8.031 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.328, allocations: 12.78 kB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.3282, allocations: 172.2 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.3282, allocations: 8.375 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.3282, allocations: 12.3 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.3284, allocations: 65.97 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3285, allocations: 0 / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.3285, allocations: 8 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.3285, allocations: 0 / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.3286, allocations: 39.97 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006582/0.3293, allocations: 312.8 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.3295, allocations: 50.5 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.81e-05/0.3296, allocations: 32.97 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.3296, allocations: 7.984 kB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.3298, allocations: 71.38 kB / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.3298, allocations: 0 / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0004242/0.3302, allocations: 153.5 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.3303, allocations: 55.41 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.3304, allocations: 117.8 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.3304, allocations: 33.7 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.3305, allocations: 88.12 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.3305, allocations: 19.75 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.3306, allocations: 25.7 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3307, allocations: 318.8 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-05/0.3308, allocations: 39.91 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.86e-05/0.3309, allocations: 50.94 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.3311, allocations: 74.48 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3311, allocations: 0 / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002468/0.3314, allocations: 117.5 kB / 1.022 GB, free: 5.688 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3314, allocations: 8 kB / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3314, allocations: 0 / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.3314, allocations: 0 / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.526e-05/0.3315, allocations: 11.98 kB / 1.022 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3315, allocations: 4 kB / 1.022 GB, free: 5.664 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/0.3316, allocations: 7.906 kB / 1.022 GB, free: 5.656 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.3316, allocations: 0 / 1.022 GB, free: 5.656 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 0.0001237/0.3318, allocations: 134.3 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.3318, allocations: 3.984 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.3318, allocations: 8.375 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3318, allocations: 0 / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3318, allocations: 0 / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3318, allocations: 0 / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.3323, allocations: 390.2 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.3324, allocations: 8 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.3324, allocations: 0 / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.3324, allocations: 4 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3324, allocations: 3.984 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3324, allocations: 0 / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.3325, allocations: 3.938 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.3328, allocations: 211.4 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.3328, allocations: 85.09 kB / 1.023 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.3328, allocations: 0 / 1.023 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.016e-05/0.3329, allocations: 4 kB / 1.023 GB, free: 4.715 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.333, allocations: 11.92 kB / 1.023 GB, free: 4.703 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.333, allocations: 4 kB / 1.023 GB, free: 4.699 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.63e-05/0.3331, allocations: 99.42 kB / 1.023 GB, free: 4.602 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3331, allocations: 7.875 kB / 1.023 GB, free: 4.594 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002938/0.3334, allocations: 36 kB / 1.023 GB, free: 4.559 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.0003502/0.3337, allocations: 167.9 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.334, allocations: 71.89 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.334, allocations: 4 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.793e-05/0.3341, allocations: 31.98 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.3344, allocations: 19.34 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.3348, allocations: 226.5 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.3351, allocations: 0.6885 MB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.3352, allocations: 19.44 kB / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.3352, allocations: 0 / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of Templates: time 0.003537/0.3387, allocations: 1.611 MB / 1.026 GB, free: 1.68 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=400 -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