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.001553/0.001554, allocations: 110.5 kB / 16.41 MB, free: 6.008 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.001625/0.001626, allocations: 183.3 kB / 17.34 MB, free: 5.629 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.373/1.373, 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.622/2.622, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 67.89 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8946/0.8962, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00232/0.8986, allocations: 1.243 MB / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.9004, allocations: 1.257 MB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.175e-05/0.9005, allocations: 0 / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.9005, allocations: 0 / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006828/0.9012, allocations: 215.3 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001024/0.9013, allocations: 34.89 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.534e-05/0.9014, allocations: 8 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.9014, allocations: 0 / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.779e-05/0.9015, allocations: 15.98 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1879/1.089, allocations: 30.9 MB / 1.241 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/1.089, allocations: 4 kB / 1.241 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/1.089, allocations: 0 / 1.241 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/1.089, allocations: 11.92 kB / 1.241 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/1.089, allocations: 7.984 kB / 1.241 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/1.09, allocations: 8 kB / 1.241 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.09, allocations: 0 / 1.241 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.585e-06/1.09, allocations: 0 / 1.241 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.133e-06/1.09, allocations: 0 / 1.241 GB, free: 14.32 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.0003464/1.09, allocations: 319.6 kB / 1.242 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/1.09, allocations: 11.97 kB / 1.242 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.819e-05/1.09, allocations: 80.22 kB / 1.242 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/1.09, allocations: 251.6 kB / 1.242 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.285e-05/1.09, allocations: 150.9 kB / 1.242 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.648e-05/1.09, allocations: 150.9 kB / 1.242 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.694e-05/1.09, allocations: 105.1 kB / 1.242 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/1.091, allocations: 75.28 kB / 1.242 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.356e-05/1.091, allocations: 162.4 kB / 1.243 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-05/1.091, allocations: 154.6 kB / 1.243 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.477e-05/1.091, allocations: 150.6 kB / 1.243 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/1.091, allocations: 445.9 kB / 1.243 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.12e-05/1.091, allocations: 169.1 kB / 1.243 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.055e-05/1.091, allocations: 84.14 kB / 1.244 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/1.091, allocations: 79.22 kB / 1.244 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/1.091, allocations: 113.8 kB / 1.244 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/1.091, allocations: 0 / 1.244 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.432e-05/1.091, allocations: 29.7 kB / 1.244 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/1.091, allocations: 203.8 kB / 1.244 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/1.092, allocations: 105.8 kB / 1.244 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/1.092, allocations: 25.7 kB / 1.244 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/1.092, allocations: 80.14 kB / 1.244 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/1.092, allocations: 0 / 1.244 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/1.092, allocations: 13.72 kB / 1.244 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.092, allocations: 314.8 kB / 1.244 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/1.092, allocations: 4 kB / 1.244 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.839e-05/1.092, allocations: 26.5 kB / 1.244 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.788e-05/1.092, allocations: 79.28 kB / 1.245 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.864e-05/1.092, allocations: 75.28 kB / 1.245 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.437e-05/1.092, allocations: 37.64 kB / 1.245 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/1.092, allocations: 79.28 kB / 1.245 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/1.092, allocations: 79.3 kB / 1.245 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.542e-05/1.092, allocations: 154.6 kB / 1.245 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.962e-05/1.092, allocations: 91.31 kB / 1.245 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.558e-05/1.092, allocations: 154.5 kB / 1.245 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/1.092, allocations: 83.28 kB / 1.245 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/1.092, allocations: 79.22 kB / 1.245 GB, free: 9.922 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.0001261/1.093, allocations: 256.9 kB / 1.246 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.26e-05/1.093, allocations: 116.9 kB / 1.246 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.376e-05/1.093, allocations: 108.1 kB / 1.246 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.425e-05/1.093, allocations: 184.4 kB / 1.246 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-05/1.093, allocations: 176.3 kB / 1.246 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-05/1.093, allocations: 180.2 kB / 1.246 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/1.093, allocations: 417.1 kB / 1.247 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.067e-05/1.093, allocations: 104.9 kB / 1.247 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/1.093, allocations: 112.8 kB / 1.247 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.089e-05/1.093, allocations: 176.3 kB / 1.247 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-05/1.093, allocations: 184.2 kB / 1.247 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-05/1.093, allocations: 176.3 kB / 1.247 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.099e-05/1.094, allocations: 180.3 kB / 1.248 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/1.094, allocations: 311.8 kB / 1.248 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-05/1.094, allocations: 190 kB / 1.248 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.732e-05/1.094, allocations: 180.3 kB / 1.248 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/1.094, allocations: 109 kB / 1.248 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/1.094, allocations: 184.2 kB / 1.249 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/1.094, allocations: 101 kB / 1.249 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.994e-05/1.094, allocations: 79.28 kB / 1.249 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/1.094, allocations: 0 / 1.249 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002909/1.095, allocations: 4 kB / 1.249 GB, free: 6.242 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.0001441/1.095, allocations: 178.5 kB / 1.249 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.136e-05/1.095, allocations: 7.938 kB / 1.249 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.095, allocations: 0 / 1.249 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/1.095, allocations: 0 / 1.249 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/1.095, allocations: 455.7 kB / 1.249 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/1.095, allocations: 198.3 kB / 1.25 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/1.096, allocations: 0.6768 MB / 1.25 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.106e-05/1.096, allocations: 7.438 kB / 1.25 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/1.096, allocations: 0 / 1.25 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of Templates: time 0.004513/1.1, allocations: 475.5 kB / 1.251 GB, free: 4.195 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