Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_latest_Buildings.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.001772/0.001772, allocations: 114.6 kB / 16.42 MB, free: 6.473 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.001649/0.001649, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.424/1.424, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.657/2.657, allocations: 472.7 MB / 0.746 GB, free: 472 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 71.83 kB / 1.07 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8543/0.8557, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002544/0.8583, allocations: 1.235 MB / 1.228 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.8604, allocations: 1.259 MB / 1.229 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/0.8604, allocations: 0 / 1.229 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.199e-05/0.8605, allocations: 0 / 1.229 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0008864/0.8614, allocations: 207.3 kB / 1.229 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.8615, allocations: 31.89 kB / 1.229 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.906e-05/0.8616, allocations: 15.98 kB / 1.229 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.737e-05/0.8616, allocations: 7.984 kB / 1.229 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.474e-05/0.8617, allocations: 11.94 kB / 1.229 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1844/1.046, allocations: 30.9 MB / 1.259 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/1.046, allocations: 0 / 1.259 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.52e-05/1.046, allocations: 0 / 1.259 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/1.046, allocations: 3.938 kB / 1.259 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/1.046, allocations: 8 kB / 1.259 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/1.046, allocations: 7.984 kB / 1.259 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/1.046, allocations: 3.938 kB / 1.259 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/1.046, allocations: 0 / 1.259 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.562e-06/1.046, allocations: 0 / 1.259 GB, free: 14.35 MB / 0.9825 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.0003236/1.047, allocations: 327.5 kB / 1.26 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.047, allocations: 8.031 kB / 1.26 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/1.047, allocations: 80.22 kB / 1.26 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/1.047, allocations: 243.6 kB / 1.26 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.984e-05/1.047, allocations: 150.9 kB / 1.26 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/1.047, allocations: 150.9 kB / 1.26 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.634e-05/1.047, allocations: 109.1 kB / 1.26 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/1.047, allocations: 75.28 kB / 1.26 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/1.047, allocations: 154.6 kB / 1.26 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-05/1.047, allocations: 154.5 kB / 1.261 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.814e-05/1.047, allocations: 158.5 kB / 1.261 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/1.048, allocations: 442 kB / 1.261 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.462e-05/1.048, allocations: 177.1 kB / 1.261 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.722e-05/1.048, allocations: 84.12 kB / 1.261 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/1.048, allocations: 75.28 kB / 1.262 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/1.048, allocations: 113.7 kB / 1.262 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/1.048, allocations: 4 kB / 1.262 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.036e-05/1.048, allocations: 33.69 kB / 1.262 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/1.048, allocations: 128.5 kB / 1.262 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/1.048, allocations: 97.86 kB / 1.262 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/1.048, allocations: 25.7 kB / 1.262 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/1.048, allocations: 80.14 kB / 1.262 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/1.048, allocations: 0 / 1.262 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/1.048, allocations: 21.7 kB / 1.262 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/1.048, allocations: 318.8 kB / 1.262 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-06/1.048, allocations: 0 / 1.262 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-05/1.048, allocations: 18.52 kB / 1.262 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.616e-05/1.048, allocations: 79.28 kB / 1.262 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-05/1.048, allocations: 75.28 kB / 1.262 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.814e-05/1.049, allocations: 33.69 kB / 1.263 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/1.049, allocations: 83.22 kB / 1.263 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/1.049, allocations: 83.36 kB / 1.263 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.815e-05/1.049, allocations: 162.5 kB / 1.263 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.916e-05/1.049, allocations: 83.27 kB / 1.263 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.306e-05/1.049, allocations: 158.5 kB / 1.263 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/1.049, allocations: 75.28 kB / 1.263 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/1.049, allocations: 83.27 kB / 1.263 GB, free: 10.03 MB / 0.9825 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.0001406/1.05, allocations: 260.4 kB / 1.263 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.114e-05/1.05, allocations: 116.9 kB / 1.264 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.173e-05/1.05, allocations: 104.1 kB / 1.264 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.969e-05/1.05, allocations: 180.2 kB / 1.264 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.621e-05/1.05, allocations: 109 kB / 1.264 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/1.05, allocations: 182.1 kB / 1.264 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.622e-05/1.05, allocations: 180.2 kB / 1.264 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/1.05, allocations: 113 kB / 1.264 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/1.05, allocations: 180.2 kB / 1.265 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.505e-05/1.05, allocations: 255.5 kB / 1.265 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001568/1.05, allocations: 387 kB / 1.265 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.479e-05/1.051, allocations: 105 kB / 1.265 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.7e-05/1.051, allocations: 79.28 kB / 1.265 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of Backend: time 7.61e-07/1.051, allocations: 3.938 kB / 1.265 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003239/1.051, allocations: 74.41 kB / 1.265 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0005091/1.051, allocations: 0.9206 MB / 1.266 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of Templates: time 0.004048/1.055, allocations: 332.5 kB / 1.267 GB, free: 6.316 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches