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.005547/0.005547, allocations: 102.9 kB / 15.74 MB, free: 6.496 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.001169/0.001169, allocations: 192.2 kB / 16.68 MB, free: 6.375 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 472.7 MB / 0.7453 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 64.12 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3467, allocations: 159.9 MB / 1.226 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002231/0.349, allocations: 1.249 MB / 1.227 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.3509, allocations: 1.247 MB / 1.228 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.383e-05/0.351, allocations: 0 / 1.228 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.067e-05/0.351, allocations: 3.938 kB / 1.228 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006865/0.3517, allocations: 215.3 kB / 1.228 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001021/0.3518, allocations: 43 kB / 1.228 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.772e-05/0.3519, allocations: 11.98 kB / 1.228 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.3519, allocations: 0 / 1.228 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.531e-05/0.352, allocations: 11.94 kB / 1.228 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.9657/1.318, allocations: 30.9 MB / 1.259 GB, free: 27.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/1.318, allocations: 0 / 1.259 GB, free: 27.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/1.318, allocations: 0.8438 kB / 1.259 GB, free: 27.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/1.318, allocations: 5.562 kB / 1.259 GB, free: 27.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/1.318, allocations: 3.922 kB / 1.259 GB, free: 27.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/1.318, allocations: 13.52 kB / 1.259 GB, free: 27.49 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.318, allocations: 0 / 1.259 GB, free: 27.49 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.833e-06/1.318, allocations: 1.031 kB / 1.259 GB, free: 27.49 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.382e-06/1.318, allocations: 0 / 1.259 GB, free: 27.49 MB / 0.9981 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.0002529/1.318, allocations: 323.3 kB / 1.259 GB, free: 27.14 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/1.318, allocations: 9.438 kB / 1.259 GB, free: 27.14 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/1.318, allocations: 78.69 kB / 1.259 GB, free: 27.07 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/1.318, allocations: 246.2 kB / 1.259 GB, free: 26.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/1.318, allocations: 152.6 kB / 1.259 GB, free: 26.65 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/1.318, allocations: 154.1 kB / 1.259 GB, free: 26.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.95e-05/1.319, allocations: 110.2 kB / 1.26 GB, free: 26.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/1.319, allocations: 76.08 kB / 1.26 GB, free: 26.31 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/1.319, allocations: 151.8 kB / 1.26 GB, free: 26.16 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/1.319, allocations: 154.5 kB / 1.26 GB, free: 26.01 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.605e-05/1.319, allocations: 151.4 kB / 1.26 GB, free: 25.86 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/1.319, allocations: 454.2 kB / 1.261 GB, free: 25.38 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.262e-05/1.319, allocations: 167 kB / 1.261 GB, free: 25.21 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/1.319, allocations: 80.14 kB / 1.261 GB, free: 25.13 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/1.319, allocations: 75.89 kB / 1.261 GB, free: 25.05 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/1.319, allocations: 120.2 kB / 1.261 GB, free: 24.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/1.319, allocations: 0 / 1.261 GB, free: 24.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.319e-05/1.319, allocations: 28.61 kB / 1.261 GB, free: 24.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/1.319, allocations: 209.4 kB / 1.261 GB, free: 24.67 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.97e-05/1.319, allocations: 99 kB / 1.261 GB, free: 24.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/1.319, allocations: 26.64 kB / 1.261 GB, free: 24.54 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.921e-05/1.319, allocations: 82.03 kB / 1.261 GB, free: 24.46 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/1.319, allocations: 0 / 1.261 GB, free: 24.46 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/1.319, allocations: 18.73 kB / 1.261 GB, free: 24.45 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.223e-05/1.319, allocations: 316.4 kB / 1.262 GB, free: 24.13 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-06/1.319, allocations: 0 / 1.262 GB, free: 24.13 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.215e-05/1.319, allocations: 19.03 kB / 1.262 GB, free: 24.11 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.537e-05/1.319, allocations: 84.19 kB / 1.262 GB, free: 24.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/1.319, allocations: 76.25 kB / 1.262 GB, free: 23.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.441e-05/1.32, allocations: 29.67 kB / 1.262 GB, free: 23.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/1.32, allocations: 90.16 kB / 1.262 GB, free: 23.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/1.32, allocations: 79.62 kB / 1.262 GB, free: 23.76 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.094e-05/1.32, allocations: 156.5 kB / 1.262 GB, free: 23.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.518e-05/1.32, allocations: 78.25 kB / 1.262 GB, free: 23.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.533e-05/1.32, allocations: 153.8 kB / 1.262 GB, free: 23.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/1.32, allocations: 81.62 kB / 1.262 GB, free: 23.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/1.32, allocations: 80.28 kB / 1.263 GB, free: 23.24 MB / 0.9981 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 8.48e-05/1.32, allocations: 263.4 kB / 1.263 GB, free: 22.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/1.32, allocations: 111.1 kB / 1.263 GB, free: 22.87 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/1.32, allocations: 107.5 kB / 1.263 GB, free: 22.76 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.973e-05/1.32, allocations: 181.4 kB / 1.263 GB, free: 22.58 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.253e-05/1.32, allocations: 182 kB / 1.263 GB, free: 22.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.963e-05/1.32, allocations: 181.2 kB / 1.264 GB, free: 22.22 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/1.32, allocations: 402.1 kB / 1.264 GB, free: 21.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.32, allocations: 105.8 kB / 1.264 GB, free: 21.67 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-05/1.32, allocations: 107.1 kB / 1.264 GB, free: 21.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.585e-05/1.32, allocations: 185.7 kB / 1.264 GB, free: 21.38 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/1.32, allocations: 185.9 kB / 1.264 GB, free: 21.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.103e-05/1.32, allocations: 185.5 kB / 1.265 GB, free: 21.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.533e-05/1.321, allocations: 177.9 kB / 1.265 GB, free: 20.83 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.969e-05/1.321, allocations: 309.5 kB / 1.265 GB, free: 20.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/1.321, allocations: 192.4 kB / 1.265 GB, free: 20.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/1.321, allocations: 182.1 kB / 1.265 GB, free: 20.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/1.321, allocations: 105.8 kB / 1.266 GB, free: 20.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/1.321, allocations: 181.4 kB / 1.266 GB, free: 19.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/1.321, allocations: 108.8 kB / 1.266 GB, free: 19.74 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.053e-05/1.321, allocations: 78.81 kB / 1.266 GB, free: 19.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.321, allocations: 4 kB / 1.266 GB, free: 19.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002647/1.321, allocations: 4.031 kB / 1.266 GB, free: 19.66 MB / 0.9981 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.0001119/1.321, allocations: 172.1 kB / 1.266 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.832e-05/1.321, allocations: 5.578 kB / 1.266 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.321, allocations: 1.031 kB / 1.266 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.106e-06/1.321, allocations: 0 / 1.266 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/1.322, allocations: 466.7 kB / 1.267 GB, free: 19.04 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/1.322, allocations: 168.1 kB / 1.267 GB, free: 18.87 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/1.322, allocations: 0.6726 MB / 1.267 GB, free: 18.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.885e-05/1.322, allocations: 3.031 kB / 1.267 GB, free: 18.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.154e-05/1.323, allocations: 8.406 kB / 1.267 GB, free: 18.17 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/1.323, allocations: 3.562 kB / 1.267 GB, free: 18.17 MB / 0.9981 GB Notification: Performance of Templates: time 0.004703/1.327, allocations: 0.4935 MB / 1.268 GB, free: 18.11 MB / 0.9981 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/jenkins/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