Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.001796/0.001796, allocations: 191 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.321/1.321, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.339/2.339, allocations: 437 MB / 0.7107 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 63.78 kB / 0.8694 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2783, allocations: 151.6 MB / 1.017 GB, free: 11.05 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002401/0.2807, allocations: 1.534 MB / 1.019 GB, free: 9.508 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.2818, allocations: 0.7323 MB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.2818, allocations: 3.938 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.2819, allocations: 0 / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.307e-05/0.282, allocations: 7.875 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.2824, allocations: 103.8 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.025e-05/0.2825, allocations: 79.77 kB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.576e-05/0.2826, allocations: 11.98 kB / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.79e-05/0.2827, allocations: 31.92 kB / 1.02 GB, free: 8.535 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.038e-05/0.2828, allocations: 47.81 kB / 1.02 GB, free: 8.488 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.2828, allocations: 4 kB / 1.02 GB, free: 8.484 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.2829, allocations: 95.86 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.283, allocations: 15.91 kB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.231e-05/0.283, allocations: 35.86 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.2832, allocations: 100 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2832, allocations: 4 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2832, allocations: 4 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.2832, allocations: 0 / 1.02 GB, free: 8.234 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.0005777/0.2838, allocations: 413 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.2838, allocations: 12.03 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.2839, allocations: 12.78 kB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.284, allocations: 180.2 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.284, allocations: 4.375 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.2841, allocations: 12.38 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.2843, allocations: 69.97 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.2843, allocations: 0 / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.2843, allocations: 0 / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2843, allocations: 0 / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.2844, allocations: 35.97 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.285, allocations: 320.8 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.2851, allocations: 46.5 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.288e-05/0.2852, allocations: 32.97 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.2853, allocations: 7.969 kB / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.2855, allocations: 83.33 kB / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.704e-06/0.2855, allocations: 0 / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003781/0.2859, allocations: 141.5 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.2859, allocations: 59.47 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.831e-05/0.286, allocations: 121.8 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.286, allocations: 25.7 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/0.2861, allocations: 96.12 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.2861, allocations: 15.75 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.2862, allocations: 29.7 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.2863, allocations: 326.8 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.843e-05/0.2863, allocations: 23.98 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.453e-05/0.2864, allocations: 50.5 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.2866, allocations: 78.48 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2866, allocations: 0 / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002333/0.2869, allocations: 109.5 kB / 1.022 GB, free: 5.727 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2869, allocations: 4 kB / 1.022 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.2869, allocations: 0 / 1.022 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2869, allocations: 4 kB / 1.022 GB, free: 5.719 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.287, allocations: 16.05 kB / 1.022 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.287, allocations: 0 / 1.022 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.821e-05/0.2871, allocations: 11.91 kB / 1.022 GB, free: 5.691 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.2871, allocations: 4 kB / 1.022 GB, free: 5.688 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 8.477e-05/0.2872, allocations: 128.6 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.2872, allocations: 4 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.2873, allocations: 8.375 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2873, allocations: 4 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2873, allocations: 4 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2873, allocations: 0 / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/0.2877, allocations: 390.6 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2877, allocations: 0 / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.2878, allocations: 7.984 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2878, allocations: 0 / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.2878, allocations: 0 / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2878, allocations: 80 / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.2878, allocations: 11.92 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.2881, allocations: 215.4 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.2881, allocations: 81.11 kB / 1.023 GB, free: 4.75 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.2881, allocations: 4 kB / 1.023 GB, free: 4.746 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.2882, allocations: 0 / 1.023 GB, free: 4.746 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.2883, allocations: 11.92 kB / 1.023 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.2883, allocations: 7.938 kB / 1.023 GB, free: 4.727 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.797e-05/0.2884, allocations: 95.27 kB / 1.023 GB, free: 4.633 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2884, allocations: 7.875 kB / 1.023 GB, free: 4.625 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002885/0.2887, allocations: 39.98 kB / 1.023 GB, free: 4.586 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.0003024/0.289, allocations: 158.7 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.2892, allocations: 75.91 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2892, allocations: 0 / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.895e-05/0.2893, allocations: 35.97 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.2896, allocations: 8 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.29, allocations: 230.7 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.2902, allocations: 0.6846 MB / 1.025 GB, free: 3.348 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.2903, allocations: 15.42 kB / 1.025 GB, free: 3.332 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.2903, allocations: 0 / 1.025 GB, free: 3.332 MB / 0.795 GB Notification: Performance of Templates: time 0.003101/0.2934, allocations: 1.613 MB / 1.026 GB, free: 1.727 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches