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.001579/0.00158, allocations: 106.9 kB / 15.99 MB, free: 6.348 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.001612/0.001611, allocations: 199.8 kB / 16.91 MB, free: 6.188 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.404/1.404, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.653/2.653, allocations: 469.4 MB / 0.7423 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 63.89 kB / 0.9083 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3527, allocations: 159.1 MB / 1.064 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002743/0.3555, allocations: 1.298 MB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00206/0.3576, allocations: 1.233 MB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.3576, allocations: 0 / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.3576, allocations: 4 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0008448/0.3585, allocations: 187.6 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.3587, allocations: 23.97 kB / 1.066 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.198e-05/0.3587, allocations: 19.92 kB / 1.066 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.3588, allocations: 0 / 1.066 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.046e-05/0.3588, allocations: 15.92 kB / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.9745/1.333, allocations: 30.64 MB / 1.096 GB, free: 17.89 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/1.333, allocations: 0.75 kB / 1.096 GB, free: 17.89 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/1.333, allocations: 0.5938 kB / 1.096 GB, free: 17.89 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/1.333, allocations: 6.266 kB / 1.096 GB, free: 17.89 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/1.333, allocations: 6.484 kB / 1.096 GB, free: 17.88 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.135e-05/1.334, allocations: 12.72 kB / 1.096 GB, free: 17.88 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.334, allocations: 0.875 kB / 1.096 GB, free: 17.88 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.993e-06/1.334, allocations: 0.9375 kB / 1.096 GB, free: 17.88 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.941e-06/1.334, allocations: 0 / 1.096 GB, free: 17.88 MB / 0.8419 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.0002658/1.334, allocations: 318.8 kB / 1.097 GB, free: 17.54 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.334, allocations: 8.906 kB / 1.097 GB, free: 17.54 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/1.334, allocations: 78.16 kB / 1.097 GB, free: 17.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.47e-05/1.334, allocations: 240.5 kB / 1.097 GB, free: 17.19 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/1.334, allocations: 156 kB / 1.097 GB, free: 17.04 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/1.334, allocations: 151.5 kB / 1.097 GB, free: 16.89 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.664e-05/1.334, allocations: 106.1 kB / 1.097 GB, free: 16.78 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/1.334, allocations: 75.94 kB / 1.097 GB, free: 16.71 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/1.334, allocations: 155.8 kB / 1.098 GB, free: 16.56 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/1.334, allocations: 154.4 kB / 1.098 GB, free: 16.41 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.771e-05/1.334, allocations: 156.6 kB / 1.098 GB, free: 16.26 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/1.334, allocations: 441.2 kB / 1.098 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.658e-05/1.335, allocations: 175 kB / 1.098 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/1.335, allocations: 80.14 kB / 1.099 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/1.335, allocations: 81.84 kB / 1.099 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/1.335, allocations: 114.9 kB / 1.099 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.432e-06/1.335, allocations: 0 / 1.099 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.03e-05/1.335, allocations: 33.22 kB / 1.099 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/1.335, allocations: 209.6 kB / 1.099 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.374e-05/1.335, allocations: 95.05 kB / 1.099 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/1.335, allocations: 26.48 kB / 1.099 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 2.613e-05/1.335, allocations: 85.48 kB / 1.099 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/1.335, allocations: 0 / 1.099 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/1.335, allocations: 17.88 kB / 1.099 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.188e-05/1.335, allocations: 313.5 kB / 1.1 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.149e-06/1.335, allocations: 3.938 kB / 1.1 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.571e-05/1.335, allocations: 21.75 kB / 1.1 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.509e-05/1.335, allocations: 80.16 kB / 1.1 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/1.335, allocations: 75.28 kB / 1.1 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.698e-05/1.335, allocations: 38.23 kB / 1.1 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/1.335, allocations: 84.16 kB / 1.1 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/1.335, allocations: 79.72 kB / 1.1 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.88e-05/1.335, allocations: 153.2 kB / 1.1 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.315e-05/1.335, allocations: 80.23 kB / 1.1 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/1.335, allocations: 156.4 kB / 1.1 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/1.335, allocations: 82.05 kB / 1.1 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/1.335, allocations: 77.2 kB / 1.1 GB, free: 13.63 MB / 0.8419 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 6.892e-05/1.336, allocations: 263.2 kB / 1.101 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/1.336, allocations: 111.1 kB / 1.101 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/1.336, allocations: 110.9 kB / 1.101 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.566e-05/1.336, allocations: 181.5 kB / 1.101 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.857e-05/1.336, allocations: 181.6 kB / 1.101 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-05/1.336, allocations: 185.1 kB / 1.101 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/1.336, allocations: 399.2 kB / 1.102 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/1.336, allocations: 102.3 kB / 1.102 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.718e-05/1.336, allocations: 117.7 kB / 1.102 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.789e-05/1.336, allocations: 184.9 kB / 1.102 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/1.336, allocations: 182.6 kB / 1.102 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.242e-05/1.336, allocations: 176.9 kB / 1.102 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.542e-05/1.336, allocations: 182.1 kB / 1.103 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.413e-05/1.336, allocations: 314.5 kB / 1.103 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/1.336, allocations: 183.6 kB / 1.103 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/1.336, allocations: 182.4 kB / 1.103 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/1.336, allocations: 104.8 kB / 1.103 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/1.336, allocations: 193.5 kB / 1.104 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/1.336, allocations: 102.7 kB / 1.104 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 2.756e-05/1.336, allocations: 78.5 kB / 1.104 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/1.336, allocations: 0 / 1.104 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002533/1.337, allocations: 4.266 kB / 1.104 GB, free: 10.05 MB / 0.8419 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.0001154/1.337, allocations: 172.1 kB / 1.104 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 4.68e-05/1.337, allocations: 5.969 kB / 1.104 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.337, allocations: 8.5 kB / 1.104 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/1.337, allocations: 0.5625 kB / 1.104 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/1.337, allocations: 461.8 kB / 1.104 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/1.337, allocations: 190.3 kB / 1.105 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.713e-05/1.338, allocations: 0.6731 MB / 1.105 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.106e-05/1.338, allocations: 11.44 kB / 1.105 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of SimCode: time 4.7e-07/1.338, allocations: 0 / 1.105 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.001927/1.339, allocations: 467.6 kB / 1.106 GB, free: 8.504 MB / 0.8419 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