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.001595/0.001595, allocations: 105.4 kB / 15.99 MB, free: 5.891 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.001667/0.001667, allocations: 187.5 kB / 16.9 MB, free: 5.746 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.447/1.447, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.476/2.476, allocations: 437.1 MB / 0.7107 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001903, allocations: 75.66 kB / 0.8694 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3037, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002467/0.3062, allocations: 1.294 MB / 1.019 GB, free: 9.707 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.3081, allocations: 1.222 MB / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.57e-05/0.3082, allocations: 0 / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.3082, allocations: 3.938 kB / 1.02 GB, free: 8.477 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0006476/0.3089, allocations: 191.5 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001079/0.309, allocations: 31.97 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.805e-05/0.3091, allocations: 11.98 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.682e-05/0.3091, allocations: 3.984 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.625e-05/0.3091, allocations: 11.88 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5427/0.8518, allocations: 30.63 MB / 1.05 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.8519, allocations: 0 / 1.05 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.8519, allocations: 0 / 1.05 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.8519, allocations: 15.97 kB / 1.05 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.852, allocations: 4 kB / 1.05 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.444e-05/0.852, allocations: 4 kB / 1.05 GB, free: 12 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.852, allocations: 0 / 1.05 GB, free: 12 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.024e-06/0.852, allocations: 0 / 1.05 GB, free: 12 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.852, allocations: 0 / 1.05 GB, free: 12 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.0003858/0.8524, allocations: 327.5 kB / 1.05 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.8525, allocations: 11.97 kB / 1.05 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.703e-05/0.8526, allocations: 76.22 kB / 1.051 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.8528, allocations: 247.6 kB / 1.051 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.768e-05/0.8529, allocations: 154.9 kB / 1.051 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/0.8529, allocations: 150.9 kB / 1.051 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.123e-05/0.853, allocations: 109 kB / 1.051 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/0.8531, allocations: 75.28 kB / 1.051 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.983e-05/0.8532, allocations: 154.5 kB / 1.051 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.507e-05/0.8532, allocations: 158.6 kB / 1.052 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.759e-05/0.8533, allocations: 154.6 kB / 1.052 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.8537, allocations: 438 kB / 1.052 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.8538, allocations: 181.1 kB / 1.052 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.814e-05/0.8539, allocations: 88.14 kB / 1.052 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/0.8539, allocations: 79.27 kB / 1.052 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/0.854, allocations: 109.8 kB / 1.053 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.854, allocations: 0 / 1.053 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.718e-05/0.8541, allocations: 25.7 kB / 1.053 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.8542, allocations: 207.8 kB / 1.053 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.8544, allocations: 105.8 kB / 1.053 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.8544, allocations: 25.7 kB / 1.053 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.8544, allocations: 80.14 kB / 1.053 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.8544, allocations: 0 / 1.053 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.8545, allocations: 17.72 kB / 1.053 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.8547, allocations: 314.8 kB / 1.053 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-06/0.8547, allocations: 0 / 1.053 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.446e-05/0.8547, allocations: 26.56 kB / 1.053 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.834e-05/0.8548, allocations: 75.28 kB / 1.053 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.4e-05/0.8548, allocations: 75.28 kB / 1.053 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.217e-05/0.8549, allocations: 37.55 kB / 1.053 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.077e-05/0.8549, allocations: 83.28 kB / 1.054 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.914e-05/0.855, allocations: 79.22 kB / 1.054 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.502e-05/0.8551, allocations: 154.6 kB / 1.054 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.622e-05/0.8551, allocations: 79.28 kB / 1.054 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-05/0.8552, allocations: 162.5 kB / 1.054 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.8554, allocations: 75.28 kB / 1.054 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.8554, allocations: 79.22 kB / 1.054 GB, free: 7.605 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.0001619/0.8556, allocations: 272.3 kB / 1.054 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.968e-05/0.8557, allocations: 112.9 kB / 1.055 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.963e-05/0.8558, allocations: 108.1 kB / 1.055 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.561e-05/0.8559, allocations: 180.2 kB / 1.055 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.764e-05/0.856, allocations: 180.3 kB / 1.055 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.299e-05/0.8561, allocations: 188.2 kB / 1.055 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.8564, allocations: 401.2 kB / 1.056 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-05/0.8564, allocations: 112.9 kB / 1.056 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-05/0.8565, allocations: 105.2 kB / 1.056 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-05/0.8566, allocations: 180.2 kB / 1.056 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.518e-05/0.8567, allocations: 184.2 kB / 1.056 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.319e-05/0.8567, allocations: 184.3 kB / 1.056 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.509e-05/0.8568, allocations: 184.2 kB / 1.056 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.857, allocations: 307.8 kB / 1.057 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.931e-05/0.8571, allocations: 186 kB / 1.057 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.98e-05/0.8572, allocations: 180.3 kB / 1.057 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.8574, allocations: 108.9 kB / 1.057 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.675e-05/0.8575, allocations: 184.3 kB / 1.057 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/0.8576, allocations: 101 kB / 1.057 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.158e-05/0.8576, allocations: 79.28 kB / 1.058 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8576, allocations: 0 / 1.058 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000255/0.8579, allocations: 4 kB / 1.058 GB, free: 3.914 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.0001668/0.8581, allocations: 178.5 kB / 1.058 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.234e-05/0.8581, allocations: 7.984 kB / 1.058 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8581, allocations: 0 / 1.058 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.626e-06/0.8582, allocations: 4 kB / 1.058 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.8586, allocations: 455.7 kB / 1.058 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.8589, allocations: 198.5 kB / 1.058 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.8593, allocations: 0.6768 MB / 1.059 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.253e-05/0.8593, allocations: 7.438 kB / 1.059 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of SimCode: time 2.274e-06/0.8593, allocations: 0 / 1.059 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of Templates: time 0.002606/0.8619, allocations: 487.8 kB / 1.059 GB, free: 1.855 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=400 -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