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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001403/0.001403, allocations: 118.6 kB / 16.42 MB, free: 6.441 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.001499/0.001499, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.726/2.726, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 67.89 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8342/0.8358, allocations: 157.4 MB / 1.208 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002667/0.8385, allocations: 1.251 MB / 1.21 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.8407, allocations: 1.245 MB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.8407, allocations: 4 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.8407, allocations: 0 / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0008445/0.8416, allocations: 223.2 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.8418, allocations: 31.2 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.402e-05/0.8418, allocations: 15.94 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.8419, allocations: 0 / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.047e-05/0.8419, allocations: 15.97 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1832/1.025, allocations: 30.9 MB / 1.241 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/1.025, allocations: 0 / 1.241 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.743e-05/1.025, allocations: 4 kB / 1.241 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/1.025, allocations: 7.938 kB / 1.241 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/1.025, allocations: 15.92 kB / 1.241 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/1.025, allocations: 7.984 kB / 1.241 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/1.025, allocations: 0 / 1.241 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.294e-06/1.025, allocations: 0 / 1.241 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.941e-06/1.025, allocations: 0 / 1.241 GB, free: 14.49 MB / 0.9669 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.0003016/1.026, allocations: 319.6 kB / 1.242 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/1.026, allocations: 8.031 kB / 1.242 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/1.026, allocations: 80.2 kB / 1.242 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/1.026, allocations: 247.6 kB / 1.242 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/1.026, allocations: 150.9 kB / 1.242 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/1.026, allocations: 154.9 kB / 1.242 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.139e-05/1.026, allocations: 105.1 kB / 1.242 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/1.026, allocations: 79.22 kB / 1.242 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.292e-05/1.026, allocations: 150.6 kB / 1.243 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-05/1.026, allocations: 154.6 kB / 1.243 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.242e-05/1.026, allocations: 158.6 kB / 1.243 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002576/1.027, allocations: 441.9 kB / 1.243 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.783e-05/1.027, allocations: 173.1 kB / 1.243 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.064e-05/1.027, allocations: 84.14 kB / 1.244 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/1.027, allocations: 79.28 kB / 1.244 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/1.027, allocations: 113.8 kB / 1.244 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/1.027, allocations: 0 / 1.244 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.074e-05/1.027, allocations: 29.64 kB / 1.244 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/1.027, allocations: 136.5 kB / 1.244 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/1.027, allocations: 101.9 kB / 1.244 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/1.027, allocations: 25.7 kB / 1.244 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/1.027, allocations: 80.14 kB / 1.244 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/1.027, allocations: 0 / 1.244 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/1.027, allocations: 17.72 kB / 1.244 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.027, allocations: 314.8 kB / 1.244 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.099e-06/1.027, allocations: 0 / 1.244 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.509e-05/1.027, allocations: 18.58 kB / 1.244 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.83e-05/1.027, allocations: 79.28 kB / 1.244 GB, free: 11 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.52e-05/1.027, allocations: 75.28 kB / 1.245 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.215e-05/1.028, allocations: 29.7 kB / 1.245 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/1.028, allocations: 91.16 kB / 1.245 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/1.028, allocations: 75.36 kB / 1.245 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-05/1.028, allocations: 158.6 kB / 1.245 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.996e-05/1.028, allocations: 83.27 kB / 1.245 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.245e-05/1.028, allocations: 158.6 kB / 1.245 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/1.028, allocations: 83.22 kB / 1.245 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/1.028, allocations: 75.52 kB / 1.245 GB, free: 10.18 MB / 0.9669 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.0001247/1.028, allocations: 268.9 kB / 1.246 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/1.028, allocations: 112.9 kB / 1.246 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/1.028, allocations: 116 kB / 1.246 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.199e-05/1.028, allocations: 176.3 kB / 1.246 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-05/1.028, allocations: 104.9 kB / 1.246 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-05/1.028, allocations: 186.1 kB / 1.246 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.731e-05/1.028, allocations: 180.2 kB / 1.246 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/1.029, allocations: 112.9 kB / 1.246 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/1.029, allocations: 180.3 kB / 1.247 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.247e-05/1.029, allocations: 259.5 kB / 1.247 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001639/1.029, allocations: 383 kB / 1.247 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.845e-05/1.029, allocations: 108.9 kB / 1.247 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.252e-05/1.029, allocations: 83.27 kB / 1.247 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of Backend: time 5.51e-07/1.029, allocations: 0 / 1.247 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003428/1.029, allocations: 76.81 kB / 1.248 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of SimCode: time 0.0005153/1.03, allocations: 0.9128 MB / 1.248 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of Templates: time 0.005206/1.035, allocations: 352.4 kB / 1.249 GB, free: 6.441 MB / 0.9669 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