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.001536/0.001536, allocations: 111 kB / 16.41 MB, free: 6.027 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.001468/0.001469, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.511/2.511, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 60.09 kB / 1.055 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8839/0.8854, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00271/0.8882, allocations: 1.236 MB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.8903, allocations: 1.253 MB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.096e-05/0.8903, allocations: 4 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.8904, allocations: 0 / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009278/0.8913, allocations: 211.3 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.8914, allocations: 43.25 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.241e-05/0.8915, allocations: 8 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.8916, allocations: 4 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.946e-05/0.8916, allocations: 7.938 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1784/1.07, allocations: 30.91 MB / 1.241 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/1.07, allocations: 4 kB / 1.241 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/1.07, allocations: 0 / 1.241 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.3e-05/1.07, allocations: 7.984 kB / 1.241 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/1.07, allocations: 0 / 1.241 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/1.07, allocations: 11.98 kB / 1.241 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.07, allocations: 0 / 1.241 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.008e-06/1.07, allocations: 4 kB / 1.241 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.059e-05/1.07, allocations: 0 / 1.241 GB, free: 14.37 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.0003253/1.071, allocations: 319.6 kB / 1.242 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/1.071, allocations: 12.03 kB / 1.242 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.78e-05/1.071, allocations: 80.22 kB / 1.242 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/1.071, allocations: 251.4 kB / 1.242 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/1.071, allocations: 150.9 kB / 1.242 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/1.071, allocations: 154.9 kB / 1.242 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.84e-05/1.071, allocations: 105.1 kB / 1.242 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/1.071, allocations: 79.22 kB / 1.242 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.033e-05/1.071, allocations: 154.6 kB / 1.243 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/1.071, allocations: 150.6 kB / 1.243 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.638e-05/1.071, allocations: 154.6 kB / 1.243 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002644/1.072, allocations: 445.9 kB / 1.243 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.911e-05/1.072, allocations: 173.1 kB / 1.243 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/1.072, allocations: 84.08 kB / 1.244 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/1.072, allocations: 75.28 kB / 1.244 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/1.072, allocations: 113.8 kB / 1.244 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/1.072, allocations: 0 / 1.244 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.21e-05/1.072, allocations: 25.7 kB / 1.244 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.783e-05/1.072, allocations: 207.8 kB / 1.244 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/1.072, allocations: 105.8 kB / 1.244 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/1.072, allocations: 29.7 kB / 1.244 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/1.072, allocations: 80.14 kB / 1.244 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/1.072, allocations: 0 / 1.244 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/1.072, allocations: 13.72 kB / 1.244 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001045/1.072, allocations: 314.8 kB / 1.244 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.201e-06/1.072, allocations: 7.938 kB / 1.244 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.209e-05/1.072, allocations: 22.56 kB / 1.244 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/1.072, allocations: 75.28 kB / 1.245 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.588e-05/1.072, allocations: 75.28 kB / 1.245 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.934e-05/1.072, allocations: 33.64 kB / 1.245 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/1.073, allocations: 79.28 kB / 1.245 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/1.073, allocations: 83.3 kB / 1.245 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.957e-05/1.073, allocations: 158.6 kB / 1.245 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.946e-05/1.073, allocations: 87.31 kB / 1.245 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-05/1.073, allocations: 154.5 kB / 1.245 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/1.073, allocations: 79.28 kB / 1.245 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/1.073, allocations: 79.22 kB / 1.245 GB, free: 9.98 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.000128/1.073, allocations: 266.5 kB / 1.246 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/1.073, allocations: 112.9 kB / 1.246 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/1.073, allocations: 116 kB / 1.246 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.605e-05/1.073, allocations: 180.2 kB / 1.246 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.421e-05/1.073, allocations: 176.3 kB / 1.246 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.135e-05/1.073, allocations: 180.2 kB / 1.246 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/1.074, allocations: 409.2 kB / 1.247 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.988e-05/1.074, allocations: 101 kB / 1.247 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/1.074, allocations: 116.8 kB / 1.247 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.812e-05/1.074, allocations: 180.2 kB / 1.247 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/1.074, allocations: 180.2 kB / 1.247 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.194e-05/1.074, allocations: 184.3 kB / 1.247 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.23e-05/1.074, allocations: 184.2 kB / 1.248 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/1.074, allocations: 303.8 kB / 1.248 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.289e-05/1.074, allocations: 190 kB / 1.248 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.674e-05/1.074, allocations: 176.3 kB / 1.248 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/1.074, allocations: 116.9 kB / 1.248 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/1.074, allocations: 176.3 kB / 1.249 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/1.074, allocations: 105 kB / 1.249 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.579e-05/1.075, allocations: 75.28 kB / 1.249 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.075, allocations: 0 / 1.249 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002466/1.075, allocations: 8 kB / 1.249 GB, free: 6.297 MB / 0.9669 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.0001406/1.075, allocations: 182.5 kB / 1.249 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.454e-05/1.075, allocations: 4 kB / 1.249 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.075, allocations: 0 / 1.249 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/1.075, allocations: 0 / 1.249 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/1.075, allocations: 457.1 kB / 1.249 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000943/1.076, allocations: 198.3 kB / 1.25 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/1.077, allocations: 0.6768 MB / 1.25 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.08e-05/1.077, allocations: 7.438 kB / 1.25 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of SimCode: time 2.134e-06/1.077, allocations: 0 / 1.25 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of Templates: time 0.003629/1.08, allocations: 468 kB / 1.251 GB, free: 4.258 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