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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001279/0.001279, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001871/0.001872, allocations: 173 kB / 16.92 MB, free: 6.652 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.43/1.43, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.9 MB / 0.667 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003623, allocations: 8 kB / 0.8166 GB, free: 13.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7737/0.7741, allocations: 142.4 MB / 0.9557 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001089/0.7752, allocations: 0.9536 MB / 0.9567 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.7768, allocations: 1.237 MB / 0.9579 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.38e-05/0.7769, allocations: 0 / 0.9579 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.674e-05/0.7769, allocations: 0 / 0.9579 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000505/0.7774, allocations: 164.9 kB / 0.958 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.33e-05/0.7775, allocations: 25.16 kB / 0.958 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.558e-05/0.7775, allocations: 19.97 kB / 0.9581 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.7776, allocations: 5.891 kB / 0.9581 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.183e-05/0.7776, allocations: 9.266 kB / 0.9581 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5994/1.377, allocations: 28.17 MB / 0.9856 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/1.377, allocations: 4 kB / 0.9856 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.4e-05/1.377, allocations: 0 / 0.9856 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/1.377, allocations: 7.922 kB / 0.9856 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.373e-05/1.377, allocations: 29.7 kB / 0.9856 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.16e-05/1.377, allocations: 3.984 kB / 0.9856 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.377, allocations: 0 / 0.9856 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.094e-06/1.377, allocations: 11.94 kB / 0.9856 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.609e-06/1.377, allocations: 0 / 0.9856 GB, free: 3.238 MB / 0.7325 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.0002892/1.378, allocations: 315.5 kB / 0.9859 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/1.378, allocations: 8.031 kB / 0.9859 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.093e-05/1.378, allocations: 80.2 kB / 0.986 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/1.378, allocations: 239.7 kB / 0.9862 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.957e-05/1.378, allocations: 154.9 kB / 0.9864 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.077e-05/1.378, allocations: 154.9 kB / 0.9865 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.72e-05/1.378, allocations: 105.1 kB / 0.9866 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/1.378, allocations: 75.28 kB / 0.9867 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.482e-05/1.378, allocations: 150.6 kB / 0.9869 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-05/1.378, allocations: 150.6 kB / 0.987 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/1.378, allocations: 162.6 kB / 0.9872 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/1.379, allocations: 441.9 kB / 0.9876 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.662e-05/1.379, allocations: 173.1 kB / 0.9877 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/1.379, allocations: 80.14 kB / 0.9878 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/1.379, allocations: 75.28 kB / 0.9879 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.036e-05/1.379, allocations: 117.8 kB / 0.988 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/1.379, allocations: 3.938 kB / 0.988 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.291e-05/1.379, allocations: 29.64 kB / 0.988 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/1.379, allocations: 211.8 kB / 0.9882 GB, free: 368 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.564e-05/1.379, allocations: 97.86 kB / 0.9883 GB, free: 260 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/1.379, allocations: 25.7 kB / 0.9884 GB, free: 228 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/1.379, allocations: 80.14 kB / 0.9884 GB, free: 144 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/1.379, allocations: 4 kB / 0.9884 GB, free: 140 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/1.379, allocations: 9.719 kB / 0.9884 GB, free: 124 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.379, allocations: 310.8 kB / 0.9887 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.997e-06/1.379, allocations: 0 / 0.9887 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.813e-05/1.379, allocations: 26.56 kB / 0.9888 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.759e-05/1.379, allocations: 75.28 kB / 0.9888 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.241e-05/1.38, allocations: 79.28 kB / 0.9889 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.814e-05/1.38, allocations: 37.58 kB / 0.989 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/1.38, allocations: 83.28 kB / 0.989 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/1.38, allocations: 75.28 kB / 0.9891 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.654e-05/1.38, allocations: 150.6 kB / 0.9892 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.951e-05/1.38, allocations: 87.25 kB / 0.9893 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.64e-05/1.38, allocations: 154.6 kB / 0.9895 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/1.38, allocations: 87.22 kB / 0.9896 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/1.38, allocations: 79.28 kB / 0.9896 GB, free: 14.87 MB / 0.7481 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.0001187/1.38, allocations: 256.4 kB / 0.9899 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/1.38, allocations: 112.9 kB / 0.99 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/1.38, allocations: 112.1 kB / 0.9901 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.508e-05/1.38, allocations: 192.2 kB / 0.9903 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.745e-05/1.38, allocations: 184.2 kB / 0.9905 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.626e-05/1.38, allocations: 176.3 kB / 0.9906 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/1.381, allocations: 401.2 kB / 0.991 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-05/1.381, allocations: 108.9 kB / 0.9911 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.824e-05/1.381, allocations: 108.9 kB / 0.9912 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.169e-05/1.381, allocations: 188.2 kB / 0.9914 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/1.381, allocations: 176.3 kB / 0.9916 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.479e-05/1.381, allocations: 184.2 kB / 0.9917 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.845e-05/1.381, allocations: 176.3 kB / 0.9919 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/1.381, allocations: 315.8 kB / 0.9922 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-05/1.381, allocations: 186.3 kB / 0.9924 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/1.381, allocations: 188.1 kB / 0.9926 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/1.382, allocations: 109 kB / 0.9927 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/1.382, allocations: 180.3 kB / 0.9928 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/1.382, allocations: 108.9 kB / 0.9929 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.369e-05/1.382, allocations: 83.28 kB / 0.993 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.382, allocations: 0 / 0.993 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002526/1.382, allocations: 0 / 0.993 GB, free: 11.18 MB / 0.7481 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.0001434/1.382, allocations: 182.5 kB / 0.9932 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 4.836e-05/1.382, allocations: 4 kB / 0.9932 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.382, allocations: 0 / 0.9932 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/1.382, allocations: 0 / 0.9932 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/1.383, allocations: 0.5301 MB / 0.9937 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002679/1.383, allocations: 189.7 kB / 0.9939 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/1.383, allocations: 0.6731 MB / 0.9946 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.256e-05/1.383, allocations: 7.438 kB / 0.9946 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of SimCode: time 6.71e-07/1.383, allocations: 0 / 0.9946 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of Templates: time 0.001719/1.385, allocations: 463.5 kB / 0.995 GB, free: 9.066 MB / 0.7481 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