Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.009359/0.009359, allocations: 96.34 kB / 15.73 MB, free: 6.043 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.001881/0.001881, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.765/2.765, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.89 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4188, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002606/0.4214, allocations: 1.243 MB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002131/0.4235, allocations: 1.259 MB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.534e-05/0.4235, allocations: 0 / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.4236, allocations: 0 / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007293/0.4243, allocations: 207.3 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001126/0.4244, allocations: 47.62 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.777e-05/0.4245, allocations: 12 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.924e-05/0.4245, allocations: 3.984 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.066e-05/0.4246, allocations: 11.94 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.081/1.505, allocations: 30.98 MB / 1.254 GB, free: 31.81 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/1.505, allocations: 0 / 1.254 GB, free: 31.81 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/1.505, allocations: 1.656 kB / 1.254 GB, free: 31.81 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/1.505, allocations: 6.688 kB / 1.254 GB, free: 31.81 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/1.505, allocations: 8.328 kB / 1.254 GB, free: 31.81 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/1.505, allocations: 10.8 kB / 1.254 GB, free: 31.81 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/1.505, allocations: 0 / 1.254 GB, free: 31.81 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.92e-07/1.505, allocations: 0.5 kB / 1.254 GB, free: 31.81 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.263e-06/1.506, allocations: 4.5 kB / 1.254 GB, free: 31.81 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.00027/1.506, allocations: 327.8 kB / 1.254 GB, free: 31.46 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/1.506, allocations: 9 kB / 1.254 GB, free: 31.46 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.819e-05/1.506, allocations: 79.03 kB / 1.254 GB, free: 31.39 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/1.506, allocations: 246.1 kB / 1.254 GB, free: 31.11 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/1.506, allocations: 150.9 kB / 1.254 GB, free: 30.96 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/1.506, allocations: 152.8 kB / 1.255 GB, free: 30.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.557e-05/1.506, allocations: 111.1 kB / 1.255 GB, free: 30.71 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/1.506, allocations: 75.28 kB / 1.255 GB, free: 30.63 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/1.506, allocations: 155.6 kB / 1.255 GB, free: 30.48 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/1.506, allocations: 155.3 kB / 1.255 GB, free: 30.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.551e-05/1.506, allocations: 150.6 kB / 1.255 GB, free: 30.19 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/1.506, allocations: 450.3 kB / 1.256 GB, free: 29.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.34e-05/1.506, allocations: 171.9 kB / 1.256 GB, free: 29.54 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.02e-05/1.506, allocations: 80.75 kB / 1.256 GB, free: 29.45 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/1.506, allocations: 76.28 kB / 1.256 GB, free: 29.38 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/1.506, allocations: 112.4 kB / 1.256 GB, free: 29.26 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/1.506, allocations: 3.219 kB / 1.256 GB, free: 29.26 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.666e-05/1.507, allocations: 31.17 kB / 1.256 GB, free: 29.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/1.507, allocations: 209.5 kB / 1.256 GB, free: 29 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.456e-05/1.507, allocations: 96.66 kB / 1.256 GB, free: 28.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/1.507, allocations: 25.7 kB / 1.256 GB, free: 28.87 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.483e-05/1.507, allocations: 82.78 kB / 1.256 GB, free: 28.79 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/1.507, allocations: 0 / 1.256 GB, free: 28.79 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/1.507, allocations: 21.7 kB / 1.256 GB, free: 28.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.848e-05/1.507, allocations: 313.1 kB / 1.257 GB, free: 28.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.5e-06/1.507, allocations: 0 / 1.257 GB, free: 28.46 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.582e-05/1.507, allocations: 19.91 kB / 1.257 GB, free: 28.44 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.454e-05/1.507, allocations: 76.22 kB / 1.257 GB, free: 28.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/1.507, allocations: 80.66 kB / 1.257 GB, free: 28.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.342e-05/1.507, allocations: 34.23 kB / 1.257 GB, free: 28.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/1.507, allocations: 85.69 kB / 1.257 GB, free: 28.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/1.507, allocations: 79.34 kB / 1.257 GB, free: 28.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.572e-05/1.507, allocations: 158.5 kB / 1.257 GB, free: 27.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.358e-05/1.507, allocations: 80.5 kB / 1.257 GB, free: 27.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.627e-05/1.507, allocations: 155.3 kB / 1.257 GB, free: 27.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/1.507, allocations: 83.14 kB / 1.258 GB, free: 27.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/1.507, allocations: 80.34 kB / 1.258 GB, free: 27.58 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.029e-05/1.507, allocations: 264.1 kB / 1.258 GB, free: 27.32 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/1.507, allocations: 108.9 kB / 1.258 GB, free: 27.21 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/1.507, allocations: 106.3 kB / 1.258 GB, free: 27.11 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.901e-05/1.507, allocations: 185.2 kB / 1.258 GB, free: 26.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.449e-05/1.507, allocations: 182.4 kB / 1.258 GB, free: 26.74 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.452e-05/1.507, allocations: 189.5 kB / 1.259 GB, free: 26.55 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/1.508, allocations: 403.2 kB / 1.259 GB, free: 26.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/1.508, allocations: 105.1 kB / 1.259 GB, free: 26.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.852e-05/1.508, allocations: 103 kB / 1.259 GB, free: 25.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-05/1.508, allocations: 189.3 kB / 1.259 GB, free: 25.71 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/1.508, allocations: 178.9 kB / 1.26 GB, free: 25.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.793e-05/1.508, allocations: 181.2 kB / 1.26 GB, free: 25.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.82e-05/1.508, allocations: 177.9 kB / 1.26 GB, free: 25.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.525e-05/1.508, allocations: 309.6 kB / 1.26 GB, free: 24.86 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/1.508, allocations: 185.1 kB / 1.26 GB, free: 24.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/1.508, allocations: 186.7 kB / 1.261 GB, free: 24.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/1.508, allocations: 105.2 kB / 1.261 GB, free: 24.38 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/1.508, allocations: 181.3 kB / 1.261 GB, free: 24.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/1.508, allocations: 105.2 kB / 1.261 GB, free: 24.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.649e-05/1.508, allocations: 83.03 kB / 1.261 GB, free: 24.01 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.508, allocations: 0 / 1.261 GB, free: 24.01 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002875/1.508, allocations: 7.688 kB / 1.261 GB, free: 24.01 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.0001394/1.509, allocations: 172.7 kB / 1.261 GB, free: 23.85 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.95e-05/1.509, allocations: 4.953 kB / 1.261 GB, free: 23.85 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.509, allocations: 1.219 kB / 1.261 GB, free: 23.85 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/1.509, allocations: 0 / 1.261 GB, free: 23.85 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/1.509, allocations: 463.1 kB / 1.262 GB, free: 23.39 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002515/1.509, allocations: 167.7 kB / 1.262 GB, free: 23.22 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/1.509, allocations: 0.6727 MB / 1.262 GB, free: 22.53 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.087e-05/1.509, allocations: 8.469 kB / 1.262 GB, free: 22.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.11e-05/1.509, allocations: 12.53 kB / 1.262 GB, free: 22.51 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/1.509, allocations: 0 / 1.262 GB, free: 22.51 MB / 0.9981 GB Notification: Performance of Templates: time 0.004794/1.514, allocations: 0.4935 MB / 1.263 GB, free: 22.46 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches