Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example3.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.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 110.1 kB / 16.42 MB, free: 6.516 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.001398/0.001398, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.317/1.317, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.136/2.136, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 63.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7777/0.7792, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03284/0.8121, allocations: 32.76 MB / 1.121 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01563/0.8278, allocations: 10.49 MB / 1.131 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/0.8301, allocations: 57.5 kB / 1.131 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002358/0.8325, allocations: 0.7389 MB / 1.132 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004928/0.8374, allocations: 1.608 MB / 1.133 GB, free: 5.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003936/0.8414, allocations: 1.416 MB / 1.135 GB, free: 4.582 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006912/0.8483, allocations: 4.894 MB / 1.139 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003103/0.8514, allocations: 2.062 MB / 1.141 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005228/0.8567, allocations: 1.948 MB / 1.143 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003022/0.8597, allocations: 1.355 MB / 1.145 GB, free: 0 / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004046/0.8602, allocations: 140.8 kB / 1.145 GB, free: 16 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003538/0.8637, allocations: 1.174 MB / 1.146 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006357/0.8644, allocations: 469.8 kB / 1.146 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001698/0.8661, allocations: 1.013 MB / 1.147 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00541/0.8715, allocations: 2.942 MB / 1.15 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.8715, allocations: 1.281 kB / 1.15 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8715, allocations: 0 / 1.15 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.582e-05/0.8716, allocations: 0 / 1.15 GB, free: 13.7 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.004751/0.8763, allocations: 2.388 MB / 1.153 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.8764, allocations: 9.375 kB / 1.153 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001953/0.8784, allocations: 389.4 kB / 1.153 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003883/0.8822, allocations: 1.719 MB / 1.155 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/0.8823, allocations: 84.77 kB / 1.155 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.8825, allocations: 104.9 kB / 1.155 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.885, allocations: 1.32 MB / 1.156 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.885, allocations: 1.281 kB / 1.156 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.8851, allocations: 39.3 kB / 1.156 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.8851, allocations: 24.34 kB / 1.156 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/0.8872, allocations: 1.018 MB / 1.157 GB, free: 10.09 MB / 0.9044 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.008372/0.8956, allocations: 6.557 MB / 1.163 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.8971, allocations: 0.6327 MB / 1.164 GB, free: 4.434 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007643/0.8978, allocations: 407.4 kB / 1.164 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003014/0.9009, allocations: 1.72 MB / 1.166 GB, free: 2.719 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008414/0.9017, allocations: 382.2 kB / 1.167 GB, free: 2.488 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000577/0.9023, allocations: 78.39 kB / 1.167 GB, free: 2.438 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=45): time 2.675e-06/0.9023, allocations: 0 / 1.167 GB, free: 2.438 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.003718/0.9061, allocations: 1.369 MB / 1.168 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.9061, allocations: 64.81 kB / 1.168 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.9085, allocations: 1.795 MB / 1.17 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.933e-05/0.9086, allocations: 39.52 kB / 1.17 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007431/0.9093, allocations: 0.8514 MB / 1.171 GB, free: 15.85 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.9095, allocations: 160.6 kB / 1.171 GB, free: 15.71 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.9098, allocations: 186.3 kB / 1.171 GB, free: 15.61 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.9099, allocations: 342.5 kB / 1.171 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007412/0.9106, allocations: 345 kB / 1.172 GB, free: 15.1 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009934/0.9116, allocations: 0.763 MB / 1.172 GB, free: 14.35 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.9133, allocations: 1.03 MB / 1.173 GB, free: 13.55 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.9133, allocations: 2.938 kB / 1.173 GB, free: 13.55 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002883/0.9162, allocations: 1.346 MB / 1.175 GB, free: 12.84 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/0.9163, allocations: 40.19 kB / 1.175 GB, free: 12.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.9163, allocations: 10.06 kB / 1.175 GB, free: 12.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000685/0.917, allocations: 177.9 kB / 1.175 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006932/0.9177, allocations: 185.5 kB / 1.175 GB, free: 12.67 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000631/0.9183, allocations: 0.7602 MB / 1.176 GB, free: 12.03 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.9195, allocations: 61.3 kB / 1.176 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.508e-05/0.9196, allocations: 48.17 kB / 1.176 GB, free: 11.99 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001369/0.921, allocations: 0.7316 MB / 1.177 GB, free: 11.57 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008834/0.9219, allocations: 0.7348 MB / 1.177 GB, free: 10.83 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001429/0.9233, allocations: 0.9688 MB / 1.178 GB, free: 10.06 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.711e-06/0.9234, allocations: 3.062 kB / 1.178 GB, free: 10.06 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002462/0.9258, allocations: 1.306 MB / 1.18 GB, free: 9.324 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.9259, allocations: 39.67 kB / 1.18 GB, free: 9.289 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.9259, allocations: 10.97 kB / 1.18 GB, free: 9.289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002358/0.9261, allocations: 122.8 kB / 1.18 GB, free: 9.238 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/0.9268, allocations: 178.7 kB / 1.18 GB, free: 9.188 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/0.929, allocations: 2.328 MB / 1.182 GB, free: 7.141 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.9302, allocations: 68.69 kB / 1.182 GB, free: 7.109 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.138e-05/0.9303, allocations: 43 kB / 1.182 GB, free: 7.102 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003339/0.9307, allocations: 247.8 kB / 1.183 GB, free: 6.871 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/0.9309, allocations: 179.6 kB / 1.183 GB, free: 6.773 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/0.9333, allocations: 1.028 MB / 1.184 GB, free: 6.211 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00173/0.935, allocations: 0.9983 MB / 1.185 GB, free: 5.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.9351, allocations: 0 / 1.185 GB, free: 5.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006891/0.9358, allocations: 298.2 kB / 1.185 GB, free: 5.25 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/0.936, allocations: 11.31 kB / 1.185 GB, free: 5.242 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006299/0.9366, allocations: 39.34 kB / 1.185 GB, free: 5.223 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.9368, allocations: 56.06 kB / 1.185 GB, free: 5.191 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002191/0.939, allocations: 0.9059 MB / 1.186 GB, free: 4.699 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002376/0.9414, allocations: 1.318 MB / 1.187 GB, free: 3.918 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006781/0.942, allocations: 321.2 kB / 1.188 GB, free: 3.754 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001829/0.9439, allocations: 1.24 MB / 1.189 GB, free: 3.07 MB / 0.92 GB Notification: Performance of Backend: time 4.3e-07/0.9439, allocations: 0 / 1.189 GB, free: 3.07 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00446/0.9484, allocations: 1.699 MB / 1.19 GB, free: 2.105 MB / 0.92 GB Notification: Performance of SimCode: time 0.006843/0.9552, allocations: 3.993 MB / 1.194 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of Templates: time 0.05702/1.012, allocations: 35.03 MB / 1.229 GB, free: 13.23 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches