Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example2.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007103/0.007104, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001475/0.001475, allocations: 193.7 kB / 16.67 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.494/2.494, allocations: 437 MB / 0.7105 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 68.11 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8516/0.8528, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03206/0.8849, allocations: 30.07 MB / 1.196 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01965/0.9046, allocations: 11.71 MB / 1.207 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.9064, allocations: 55.69 kB / 1.207 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004243/0.9107, allocations: 1.496 MB / 1.209 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004211/0.9149, allocations: 1.653 MB / 1.211 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003746/0.9187, allocations: 1.479 MB / 1.212 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.008688/0.9274, allocations: 6.739 MB / 1.219 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002153/0.9295, allocations: 1.392 MB / 1.22 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003208/0.9328, allocations: 1.512 MB / 1.221 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0019/0.9347, allocations: 1.12 MB / 1.222 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003932/0.9351, allocations: 128 kB / 1.223 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002866/0.938, allocations: 1.318 MB / 1.224 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006363/0.9386, allocations: 0.5295 MB / 1.224 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.9401, allocations: 0.9677 MB / 1.225 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004597/0.9447, allocations: 3.051 MB / 1.228 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.9447, allocations: 4 kB / 1.228 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9447, allocations: 0 / 1.228 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.999e-05/0.9448, allocations: 4 kB / 1.228 GB, free: 4.43 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004453/0.9493, allocations: 2.427 MB / 1.231 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.9493, allocations: 16.86 kB / 1.231 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.9512, allocations: 386.4 kB / 1.231 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00401/0.9553, allocations: 2.416 MB / 1.233 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.873e-05/0.9553, allocations: 62 kB / 1.233 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.9555, allocations: 88 kB / 1.234 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.9574, allocations: 1.015 MB / 1.235 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.9575, allocations: 0 / 1.235 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.116e-05/0.9576, allocations: 39.98 kB / 1.235 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.9576, allocations: 20 kB / 1.235 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/0.9594, allocations: 0.7493 MB / 1.235 GB, free: 13.05 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0081/0.9675, allocations: 5.26 MB / 1.24 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.9689, allocations: 0.5594 MB / 1.241 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007495/0.9696, allocations: 326.4 kB / 1.241 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002643/0.9723, allocations: 1.654 MB / 1.243 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000786/0.9731, allocations: 326.7 kB / 1.243 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005439/0.9737, allocations: 75.38 kB / 1.243 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=42): time 3.677e-06/0.9737, allocations: 4 kB / 1.243 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of matching and sorting (n=42): time 0.00366/0.9773, allocations: 1.227 MB / 1.245 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.9774, allocations: 63.39 kB / 1.245 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00279/0.9802, allocations: 1.869 MB / 1.246 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.473e-05/0.9803, allocations: 49.69 kB / 1.246 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007951/0.9811, allocations: 0.7921 MB / 1.247 GB, free: 260 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.9813, allocations: 154.7 kB / 1.247 GB, free: 104 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004111/0.9817, allocations: 270.4 kB / 1.248 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.9819, allocations: 349.9 kB / 1.248 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008764/0.9827, allocations: 468.8 kB / 1.248 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.9839, allocations: 0.8276 MB / 1.249 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/0.9858, allocations: 1.161 MB / 1.25 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.9858, allocations: 0 / 1.25 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003181/0.989, allocations: 1.605 MB / 1.252 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.909e-05/0.9891, allocations: 37.69 kB / 1.252 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.9891, allocations: 8 kB / 1.252 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000675/0.9898, allocations: 192.7 kB / 1.252 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007151/0.9905, allocations: 195.7 kB / 1.252 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000703/0.9912, allocations: 0.763 MB / 1.253 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.9923, allocations: 75.91 kB / 1.253 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.209e-05/0.9924, allocations: 51.92 kB / 1.253 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00141/0.9939, allocations: 0.869 MB / 1.254 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001068/0.9949, allocations: 0.8184 MB / 1.255 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001649/0.9966, allocations: 1.124 MB / 1.256 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.903e-06/0.9966, allocations: 4 kB / 1.256 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002718/0.9993, allocations: 1.585 MB / 1.258 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.9994, allocations: 41.69 kB / 1.258 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.9994, allocations: 8 kB / 1.258 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002173/0.9996, allocations: 101.3 kB / 1.258 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006814/1, allocations: 199.7 kB / 1.258 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/1.003, allocations: 2.358 MB / 1.26 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/1.004, allocations: 76.02 kB / 1.26 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.895e-05/1.004, allocations: 43.98 kB / 1.26 GB, free: 2.086 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003058/1.004, allocations: 244.5 kB / 1.261 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003706/1.005, allocations: 178.8 kB / 1.261 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/1.007, allocations: 0.9005 MB / 1.262 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/1.007, allocations: 8 kB / 1.262 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/1.007, allocations: 0 / 1.262 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001572/1.009, allocations: 0.8958 MB / 1.262 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004194/1.013, allocations: 2.002 MB / 1.264 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.013, allocations: 4.109 kB / 1.264 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004704/1.013, allocations: 87.88 kB / 1.264 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002893/1.014, allocations: 124.7 kB / 1.265 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/1.014, allocations: 15.98 kB / 1.265 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007091/1.014, allocations: 0.7435 MB / 1.265 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.014, allocations: 7.875 kB / 1.265 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/1.017, allocations: 1.246 MB / 1.267 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006578/1.018, allocations: 323.8 kB / 1.267 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/1.018, allocations: 12.06 kB / 1.267 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007732/1.019, allocations: 43.95 kB / 1.267 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/1.019, allocations: 35.95 kB / 1.267 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-05/1.019, allocations: 19.98 kB / 1.267 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002368/1.021, allocations: 1.277 MB / 1.268 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.01e-07/1.021, allocations: 0 / 1.268 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002988/1.024, allocations: 0.815 MB / 1.269 GB, free: 8.848 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001531/1.026, allocations: 0.5016 MB / 1.27 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003927/1.03, allocations: 1.891 MB / 1.271 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/1.03, allocations: 0 / 1.271 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008064/1.031, allocations: 332.8 kB / 1.272 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003169/1.034, allocations: 0.7937 MB / 1.272 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006285/1.04, allocations: 3.04 MB / 1.275 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/1.041, allocations: 1.433 MB / 1.277 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001435/1.043, allocations: 429.3 kB / 1.277 GB, free: 368 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003609/1.043, allocations: 143.3 kB / 1.277 GB, free: 224 kB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.043, allocations: 4 kB / 1.277 GB, free: 220 kB / 0.9981 GB Notification: Performance of Templates: time 0.05519/1.098, allocations: 33.61 MB / 1.31 GB, free: 15.01 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches