Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 106.5 kB / 16.27 MB, free: 5.984 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.00136/0.001361, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.308/1.308, allocations: 222.9 MB / 240.9 MB, free: 15.02 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.36/2.36, allocations: 437 MB / 0.711 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 75.66 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3276, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.003343/0.331, allocations: 1.228 MB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002295/0.3333, allocations: 1.247 MB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.275e-05/0.3334, allocations: 0 / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.3335, allocations: 3.938 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0009576/0.3345, allocations: 211.8 kB / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.3346, allocations: 38.19 kB / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.231e-05/0.3347, allocations: 19.92 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.3347, allocations: 0 / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.923e-05/0.3348, allocations: 7.938 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.182/0.5168, allocations: 30.64 MB / 1.051 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.5168, allocations: 0 / 1.051 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.422e-05/0.5169, allocations: 0 / 1.051 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.5169, allocations: 8 kB / 1.051 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.5169, allocations: 4 kB / 1.051 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.5171, allocations: 15.91 kB / 1.051 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5171, allocations: 4 kB / 1.051 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5171, allocations: 0 / 1.051 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.5171, allocations: 0 / 1.051 GB, free: 11.68 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003238/0.5174, allocations: 319.5 kB / 1.051 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.5175, allocations: 12.03 kB / 1.051 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.608e-05/0.5175, allocations: 76.22 kB / 1.051 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.5177, allocations: 247.5 kB / 1.051 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.5178, allocations: 154.9 kB / 1.051 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.842e-05/0.5178, allocations: 150.9 kB / 1.052 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.027e-05/0.5179, allocations: 105.1 kB / 1.052 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.5179, allocations: 75.28 kB / 1.052 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/0.518, allocations: 154.6 kB / 1.052 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.392e-05/0.5181, allocations: 158.5 kB / 1.052 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.945e-05/0.5181, allocations: 154.6 kB / 1.052 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.5184, allocations: 449.9 kB / 1.053 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.864e-05/0.5185, allocations: 165.1 kB / 1.053 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.704e-05/0.5185, allocations: 84.14 kB / 1.053 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.5186, allocations: 75.33 kB / 1.053 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/0.5186, allocations: 121.8 kB / 1.053 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.5186, allocations: 0 / 1.053 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.64e-05/0.5187, allocations: 33.64 kB / 1.053 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.754e-05/0.5188, allocations: 211.8 kB / 1.053 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.519, allocations: 97.86 kB / 1.053 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.519, allocations: 25.7 kB / 1.053 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.519, allocations: 80.14 kB / 1.053 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.519, allocations: 0 / 1.053 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.5191, allocations: 21.7 kB / 1.053 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5192, allocations: 310.8 kB / 1.054 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-06/0.5192, allocations: 0 / 1.054 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.589e-05/0.5192, allocations: 18.58 kB / 1.054 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.234e-05/0.5193, allocations: 79.28 kB / 1.054 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.442e-05/0.5193, allocations: 75.28 kB / 1.054 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.127e-05/0.5194, allocations: 49.41 kB / 1.054 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.5194, allocations: 79.28 kB / 1.054 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.5195, allocations: 83.28 kB / 1.054 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.636e-05/0.5195, allocations: 154.5 kB / 1.054 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.089e-05/0.5195, allocations: 79.22 kB / 1.054 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.223e-05/0.5196, allocations: 154.6 kB / 1.054 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.5198, allocations: 87.2 kB / 1.055 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.5198, allocations: 75.28 kB / 1.055 GB, free: 7.285 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001163/0.5199, allocations: 264.4 kB / 1.055 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/0.52, allocations: 112.9 kB / 1.055 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.52, allocations: 108.1 kB / 1.055 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.327e-05/0.5201, allocations: 180.2 kB / 1.055 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-05/0.5202, allocations: 180.2 kB / 1.055 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-05/0.5202, allocations: 184.3 kB / 1.056 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.5204, allocations: 401.2 kB / 1.056 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.255e-05/0.5205, allocations: 109 kB / 1.056 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/0.5205, allocations: 108.9 kB / 1.056 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.245e-05/0.5206, allocations: 180.2 kB / 1.056 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.926e-05/0.5207, allocations: 180.3 kB / 1.057 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-05/0.5207, allocations: 184.2 kB / 1.057 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.148e-05/0.5208, allocations: 180.3 kB / 1.057 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.5209, allocations: 308 kB / 1.057 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.376e-05/0.521, allocations: 190 kB / 1.057 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/0.5211, allocations: 184.2 kB / 1.058 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.5212, allocations: 101 kB / 1.058 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.5213, allocations: 180.3 kB / 1.058 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.5213, allocations: 116.9 kB / 1.058 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.1e-05/0.5214, allocations: 75.28 kB / 1.058 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.5214, allocations: 0 / 1.058 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002566/0.5217, allocations: 4 kB / 1.058 GB, free: 3.605 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001417/0.5218, allocations: 174.5 kB / 1.058 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.294e-05/0.5219, allocations: 4 kB / 1.058 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5219, allocations: 0 / 1.058 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.5219, allocations: 0 / 1.058 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.5222, allocations: 465.5 kB / 1.059 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.5225, allocations: 194.5 kB / 1.059 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.5228, allocations: 0.6767 MB / 1.059 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.462e-05/0.5228, allocations: 11.44 kB / 1.059 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.5228, allocations: 0 / 1.059 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of Templates: time 0.004034/0.5268, allocations: 472 kB / 1.06 GB, free: 1.566 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches