Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_9_Buildings.Experimental.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.001624/0.001624, allocations: 109.5 kB / 15.99 MB, free: 6.344 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.001602/0.001602, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.397/1.397, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 390.3 MB / 0.665 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 68.23 kB / 0.8127 GB, free: 33.24 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3269, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002448/0.3294, allocations: 1.292 MB / 0.951 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001844/0.3313, allocations: 1.232 MB / 0.9522 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.3313, allocations: 0 / 0.9522 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.3313, allocations: 7.938 kB / 0.9522 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006732/0.332, allocations: 179.6 kB / 0.9524 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.3321, allocations: 31.91 kB / 0.9525 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.841e-05/0.3322, allocations: 23.91 kB / 0.9525 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.3323, allocations: 4 kB / 0.9525 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.3323, allocations: 4 kB / 0.9525 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4197/0.752, allocations: 30.63 MB / 0.9824 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.752, allocations: 3.938 kB / 0.9824 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.7521, allocations: 8 kB / 0.9824 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.7521, allocations: 0 / 0.9824 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.7521, allocations: 11.98 kB / 0.9824 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.602e-05/0.7522, allocations: 0 / 0.9824 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7522, allocations: 0 / 0.9824 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.425e-06/0.7522, allocations: 0 / 0.9824 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.7522, allocations: 4 kB / 0.9824 GB, free: 10.63 MB / 0.7637 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.0003319/0.7525, allocations: 319.5 kB / 0.9827 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.7526, allocations: 12.03 kB / 0.9827 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/0.7527, allocations: 80.16 kB / 0.9828 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.7528, allocations: 243.6 kB / 0.983 GB, free: 9.906 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.327e-05/0.7529, allocations: 150.9 kB / 0.9832 GB, free: 9.758 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/0.7529, allocations: 158.9 kB / 0.9833 GB, free: 9.602 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.2e-05/0.753, allocations: 109 kB / 0.9834 GB, free: 9.488 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.7531, allocations: 75.28 kB / 0.9835 GB, free: 9.414 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.169e-05/0.7531, allocations: 154.6 kB / 0.9837 GB, free: 9.262 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.422e-05/0.7532, allocations: 150.6 kB / 0.9838 GB, free: 9.113 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.127e-05/0.7533, allocations: 158.5 kB / 0.984 GB, free: 8.957 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.7535, allocations: 442 kB / 0.9844 GB, free: 8.477 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.263e-05/0.7536, allocations: 181.1 kB / 0.9845 GB, free: 8.289 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/0.7537, allocations: 84.08 kB / 0.9846 GB, free: 8.203 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.7537, allocations: 75.28 kB / 0.9847 GB, free: 8.129 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/0.7538, allocations: 113.8 kB / 0.9848 GB, free: 8.008 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.7538, allocations: 0 / 0.9848 GB, free: 8.008 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 7.747e-05/0.7539, allocations: 29.64 kB / 0.9848 GB, free: 7.973 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.68e-05/0.754, allocations: 207.8 kB / 0.985 GB, free: 7.738 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.7541, allocations: 101.8 kB / 0.9851 GB, free: 7.629 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.7541, allocations: 25.7 kB / 0.9852 GB, free: 7.598 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.7542, allocations: 84.14 kB / 0.9852 GB, free: 7.512 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.7542, allocations: 0 / 0.9852 GB, free: 7.512 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.7542, allocations: 13.72 kB / 0.9853 GB, free: 7.492 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.7543, allocations: 314.8 kB / 0.9856 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-06/0.7543, allocations: 0 / 0.9856 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.063e-05/0.7544, allocations: 26.56 kB / 0.9856 GB, free: 7.141 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.687e-05/0.7544, allocations: 79.28 kB / 0.9857 GB, free: 7.062 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.532e-05/0.7544, allocations: 75.28 kB / 0.9857 GB, free: 6.988 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.278e-05/0.7545, allocations: 37.58 kB / 0.9858 GB, free: 6.945 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/0.7546, allocations: 79.28 kB / 0.9858 GB, free: 6.867 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/0.7546, allocations: 75.28 kB / 0.9859 GB, free: 6.793 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.137e-05/0.7547, allocations: 158.5 kB / 0.9861 GB, free: 6.637 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.969e-05/0.7547, allocations: 83.28 kB / 0.9861 GB, free: 6.555 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-05/0.7547, allocations: 150.6 kB / 0.9863 GB, free: 6.406 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.7549, allocations: 87.2 kB / 0.9864 GB, free: 6.32 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.755, allocations: 75.28 kB / 0.9864 GB, free: 6.246 MB / 0.7637 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.0001278/0.7551, allocations: 260.9 kB / 0.9867 GB, free: 5.98 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.97e-05/0.7552, allocations: 120.8 kB / 0.9868 GB, free: 5.855 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.1e-05/0.7552, allocations: 115.9 kB / 0.9869 GB, free: 5.734 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-05/0.7553, allocations: 176.3 kB / 0.9871 GB, free: 5.555 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.18e-05/0.7554, allocations: 180.2 kB / 0.9873 GB, free: 5.371 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.175e-05/0.7554, allocations: 180.3 kB / 0.9874 GB, free: 5.188 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.7556, allocations: 413.2 kB / 0.9878 GB, free: 4.727 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.865e-05/0.7557, allocations: 101 kB / 0.9879 GB, free: 4.621 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.7557, allocations: 105.4 kB / 0.988 GB, free: 4.512 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.727e-05/0.7558, allocations: 184.2 kB / 0.9882 GB, free: 4.324 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.886e-05/0.7559, allocations: 180.3 kB / 0.9884 GB, free: 4.141 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.905e-05/0.756, allocations: 192.2 kB / 0.9885 GB, free: 3.945 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.056e-05/0.756, allocations: 184.2 kB / 0.9887 GB, free: 3.758 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.7562, allocations: 311.7 kB / 0.989 GB, free: 3.43 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 8.048e-05/0.7563, allocations: 186 kB / 0.9892 GB, free: 3.223 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/0.7563, allocations: 180.2 kB / 0.9894 GB, free: 3.039 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.7565, allocations: 109 kB / 0.9895 GB, free: 2.926 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/0.7566, allocations: 184.2 kB / 0.9896 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.7566, allocations: 101 kB / 0.9897 GB, free: 2.633 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 4.204e-05/0.7567, allocations: 83.28 kB / 0.9898 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7567, allocations: 0 / 0.9898 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0002465/0.7569, allocations: 4 kB / 0.9898 GB, free: 2.547 MB / 0.7637 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.0001509/0.7571, allocations: 174.5 kB / 0.99 GB, free: 2.367 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 5.084e-05/0.7571, allocations: 4 kB / 0.99 GB, free: 2.363 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7571, allocations: 0 / 0.99 GB, free: 2.363 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 4.829e-06/0.7571, allocations: 7.922 kB / 0.99 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.7575, allocations: 455.7 kB / 0.9904 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.7578, allocations: 206.5 kB / 0.9906 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.7581, allocations: 0.6844 MB / 0.9913 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.333e-05/0.7581, allocations: 7.438 kB / 0.9913 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of SimCode: time 4.41e-07/0.7581, allocations: 0 / 0.9913 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of Templates: time 0.001993/0.7601, allocations: 470.5 kB / 0.9918 GB, free: 0.4961 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches