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.007465/0.007465, allocations: 100.1 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.001732/0.001732, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.295/2.295, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 61.59 kB / 0.9508 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2397, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.0021/0.2419, allocations: 1.231 MB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.2437, allocations: 1.255 MB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.746e-05/0.2437, allocations: 0 / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.2437, allocations: 4 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006309/0.2444, allocations: 211.2 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001028/0.2445, allocations: 33.81 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.766e-05/0.2445, allocations: 15.92 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.2446, allocations: 0 / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.148e-05/0.2446, allocations: 7.938 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1867/0.4314, allocations: 30.91 MB / 1.121 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.4314, allocations: 0 / 1.121 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 8.697e-06/0.4314, allocations: 0 / 1.121 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.4314, allocations: 4 kB / 1.121 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/0.4315, allocations: 3.984 kB / 1.121 GB, free: 2.062 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.4316, allocations: 19.92 kB / 1.121 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.4316, allocations: 4 kB / 1.121 GB, free: 2.039 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4316, allocations: 0 / 1.121 GB, free: 2.039 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.4316, allocations: 0 / 1.121 GB, free: 2.039 MB / 0.8731 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.0002903/0.4319, allocations: 323.5 kB / 1.121 GB, free: 1.676 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.4319, allocations: 8.031 kB / 1.121 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.432, allocations: 76.22 kB / 1.121 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.4321, allocations: 247.7 kB / 1.121 GB, free: 1.312 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.4322, allocations: 150.9 kB / 1.122 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.4322, allocations: 154.9 kB / 1.122 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.025e-05/0.4323, allocations: 113 kB / 1.122 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.4323, allocations: 75.28 kB / 1.122 GB, free: 0.8203 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.77e-05/0.4324, allocations: 150.6 kB / 1.122 GB, free: 0.6719 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.994e-05/0.4325, allocations: 150.6 kB / 1.122 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.475e-05/0.4325, allocations: 154.6 kB / 1.122 GB, free: 380 kB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.4328, allocations: 449.9 kB / 1.123 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.137e-05/0.4329, allocations: 169.1 kB / 1.123 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.4329, allocations: 92.12 kB / 1.123 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.433, allocations: 75.28 kB / 1.123 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.433, allocations: 113.8 kB / 1.123 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.433, allocations: 4 kB / 1.123 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 6.721e-05/0.4331, allocations: 29.61 kB / 1.123 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.4332, allocations: 207.8 kB / 1.123 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.34e-05/0.4333, allocations: 97.84 kB / 1.124 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.4333, allocations: 33.64 kB / 1.124 GB, free: 15 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.339e-05/0.4334, allocations: 80.14 kB / 1.124 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-06/0.4334, allocations: 0 / 1.124 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.4334, allocations: 13.72 kB / 1.124 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.039e-05/0.4335, allocations: 314.8 kB / 1.124 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-06/0.4335, allocations: 0 / 1.124 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.37e-05/0.4336, allocations: 26.56 kB / 1.124 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.51e-05/0.4336, allocations: 75.28 kB / 1.124 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.279e-05/0.4336, allocations: 79.22 kB / 1.124 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.256e-05/0.4337, allocations: 33.69 kB / 1.124 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.4337, allocations: 83.28 kB / 1.124 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.4338, allocations: 91.22 kB / 1.124 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.521e-05/0.4338, allocations: 150.6 kB / 1.124 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.586e-05/0.4339, allocations: 79.22 kB / 1.125 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.944e-05/0.4339, allocations: 158.5 kB / 1.125 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.4341, allocations: 79.28 kB / 1.125 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.4341, allocations: 79.22 kB / 1.125 GB, free: 13.64 MB / 0.8887 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.0001038/0.4342, allocations: 264.4 kB / 1.125 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.631e-05/0.4343, allocations: 108.9 kB / 1.125 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.4343, allocations: 112 kB / 1.125 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.033e-05/0.4344, allocations: 180.3 kB / 1.125 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.315e-05/0.4345, allocations: 176.3 kB / 1.126 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.222e-05/0.4345, allocations: 188.2 kB / 1.126 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.4347, allocations: 401.2 kB / 1.126 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.284e-05/0.4348, allocations: 108.9 kB / 1.126 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.4348, allocations: 104.9 kB / 1.126 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.223e-05/0.4349, allocations: 180.2 kB / 1.127 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.591e-05/0.435, allocations: 188.1 kB / 1.127 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.229e-05/0.435, allocations: 184.3 kB / 1.127 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.707e-05/0.4351, allocations: 180.2 kB / 1.127 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.4352, allocations: 303.8 kB / 1.127 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.4353, allocations: 186 kB / 1.128 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.796e-05/0.4354, allocations: 184.3 kB / 1.128 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.4355, allocations: 112.9 kB / 1.128 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.4356, allocations: 180.3 kB / 1.128 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.4356, allocations: 101 kB / 1.128 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.158e-05/0.4357, allocations: 79.22 kB / 1.128 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4357, allocations: 4 kB / 1.128 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002642/0.4359, allocations: 4 kB / 1.128 GB, free: 9.965 MB / 0.8887 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.0001371/0.4361, allocations: 174.5 kB / 1.128 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 5.697e-05/0.4362, allocations: 7.984 kB / 1.128 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4362, allocations: 0 / 1.128 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.163e-06/0.4362, allocations: 0 / 1.128 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.4365, allocations: 459.7 kB / 1.129 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.4368, allocations: 172.7 kB / 1.129 GB, free: 9.125 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.437, allocations: 0.6729 MB / 1.13 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 3.013e-05/0.437, allocations: 4.375 kB / 1.13 GB, free: 8.422 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.025e-05/0.437, allocations: 7.438 kB / 1.13 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of SimCode: time 5.91e-07/0.4371, allocations: 0 / 1.13 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of Templates: time 0.003628/0.4407, allocations: 0.4924 MB / 1.13 GB, free: 7.926 MB / 0.8887 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/jenkins/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