Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example4.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.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00744/0.00744, allocations: 101.7 kB / 15.73 MB, free: 6.477 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.00165/0.00165, allocations: 192.6 kB / 16.67 MB, free: 6.391 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.363 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.403/2.403, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 66.7 kB / 0.9508 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3382, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 1.13/1.469, allocations: 237.6 MB / 1.32 GB, free: 3 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02031/1.489, allocations: 15.79 MB / 1.335 GB, free: 2.645 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003216/1.492, allocations: 61.84 kB / 1.335 GB, free: 2.645 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002946/1.495, allocations: 1.081 MB / 1.336 GB, free: 2.621 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008018/1.503, allocations: 3.097 MB / 1.339 GB, free: 2.5 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004613/1.508, allocations: 1.697 MB / 1.341 GB, free: 2.441 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00533/1.513, allocations: 3.449 MB / 1.344 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001757/1.515, allocations: 1.29 MB / 1.346 GB, free: 2.168 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006417/1.521, allocations: 2.575 MB / 1.348 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002105/1.524, allocations: 1.082 MB / 1.349 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003542/1.524, allocations: 117.6 kB / 1.349 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005724/1.53, allocations: 3.104 MB / 1.352 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006124/1.53, allocations: 479.1 kB / 1.353 GB, free: 476 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001434/1.532, allocations: 0.8145 MB / 1.354 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005673/1.537, allocations: 2.966 MB / 1.357 GB, free: 15.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.537, allocations: 4 kB / 1.357 GB, free: 15.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.373e-06/1.537, allocations: 0 / 1.357 GB, free: 15.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.785e-05/1.538, allocations: 0 / 1.357 GB, free: 15.1 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004054/1.542, allocations: 1.997 MB / 1.359 GB, free: 13.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/1.542, allocations: 10.59 kB / 1.359 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002771/1.544, allocations: 0.501 MB / 1.359 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/1.547, allocations: 1.174 MB / 1.36 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.318e-05/1.547, allocations: 76.69 kB / 1.36 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/1.547, allocations: 98.53 kB / 1.36 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/1.55, allocations: 1.351 MB / 1.362 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/1.55, allocations: 7.875 kB / 1.362 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/1.55, allocations: 48.89 kB / 1.362 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.391e-05/1.55, allocations: 45.78 kB / 1.362 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/1.552, allocations: 1.051 MB / 1.363 GB, free: 11.91 MB / 1.029 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.007536/1.559, allocations: 7.385 MB / 1.37 GB, free: 6.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/1.561, allocations: 0.5391 MB / 1.371 GB, free: 5.859 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005785/1.562, allocations: 256.9 kB / 1.371 GB, free: 5.785 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003746/1.562, allocations: 291.7 kB / 1.371 GB, free: 5.492 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/1.562, allocations: 37.69 kB / 1.371 GB, free: 5.449 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 2.054e-06/1.562, allocations: 0 / 1.371 GB, free: 5.449 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.002213/1.564, allocations: 0.8369 MB / 1.372 GB, free: 5.172 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/1.564, allocations: 59.05 kB / 1.372 GB, free: 5.105 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/1.566, allocations: 1.392 MB / 1.373 GB, free: 4.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/1.566, allocations: 32.11 kB / 1.373 GB, free: 4.535 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000534/1.567, allocations: 0.7024 MB / 1.374 GB, free: 3.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/1.567, allocations: 121 kB / 1.374 GB, free: 3.891 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/1.567, allocations: 169.1 kB / 1.374 GB, free: 3.801 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.567, allocations: 338.5 kB / 1.375 GB, free: 3.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007431/1.568, allocations: 313.4 kB / 1.375 GB, free: 3.391 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/1.569, allocations: 0.6905 MB / 1.376 GB, free: 2.809 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/1.571, allocations: 0.9278 MB / 1.377 GB, free: 2.184 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/1.571, allocations: 3.219 kB / 1.377 GB, free: 2.184 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002215/1.573, allocations: 1.051 MB / 1.378 GB, free: 1.859 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/1.573, allocations: 11.77 kB / 1.378 GB, free: 1.859 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/1.573, allocations: 10.66 kB / 1.378 GB, free: 1.859 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/1.573, allocations: 23.94 kB / 1.378 GB, free: 1.855 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008016/1.574, allocations: 200.5 kB / 1.378 GB, free: 1.848 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/1.574, allocations: 23.55 kB / 1.378 GB, free: 1.848 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/1.575, allocations: 179.9 kB / 1.378 GB, free: 1.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-05/1.575, allocations: 47.2 kB / 1.378 GB, free: 1.762 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001084/1.576, allocations: 0.5597 MB / 1.379 GB, free: 1.508 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009971/1.577, allocations: 0.6903 MB / 1.379 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001587/1.579, allocations: 0.9278 MB / 1.38 GB, free: 304 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.281e-06/1.579, allocations: 2.094 kB / 1.38 GB, free: 304 kB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00212/1.581, allocations: 1.05 MB / 1.381 GB, free: 15.98 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/1.581, allocations: 10.19 kB / 1.381 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.581, allocations: 10.84 kB / 1.381 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/1.581, allocations: 16.28 kB / 1.381 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000779/1.582, allocations: 202.3 kB / 1.381 GB, free: 15.97 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.151e-05/1.582, allocations: 27.34 kB / 1.381 GB, free: 15.97 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/1.583, allocations: 137.1 kB / 1.382 GB, free: 15.93 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.768e-05/1.583, allocations: 48.77 kB / 1.382 GB, free: 15.92 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0002222/1.583, allocations: 236.6 kB / 1.382 GB, free: 15.71 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/1.584, allocations: 140.2 kB / 1.382 GB, free: 15.63 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/1.585, allocations: 0.6426 MB / 1.383 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/1.585, allocations: 6.031 kB / 1.383 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.585, allocations: 0 / 1.383 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.585, allocations: 10.27 kB / 1.383 GB, free: 15.38 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003331/1.588, allocations: 1.88 MB / 1.384 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.588, allocations: 9.219 kB / 1.384 GB, free: 14.19 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/1.589, allocations: 90.27 kB / 1.385 GB, free: 14.17 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/1.589, allocations: 5.531 kB / 1.385 GB, free: 14.17 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/1.589, allocations: 15.95 kB / 1.385 GB, free: 14.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/1.589, allocations: 8.906 kB / 1.385 GB, free: 14.16 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.589, allocations: 7.75 kB / 1.385 GB, free: 14.16 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/1.59, allocations: 0.8016 MB / 1.385 GB, free: 13.6 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004541/1.591, allocations: 296.2 kB / 1.386 GB, free: 13.35 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/1.591, allocations: 13.44 kB / 1.386 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009382/1.592, allocations: 71.86 kB / 1.386 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/1.592, allocations: 31.47 kB / 1.386 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/1.592, allocations: 24.7 kB / 1.386 GB, free: 13.29 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00131/1.594, allocations: 1.014 MB / 1.387 GB, free: 12.74 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.7e-07/1.594, allocations: 0 / 1.387 GB, free: 12.74 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001692/1.595, allocations: 0.5716 MB / 1.387 GB, free: 12.66 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.000583/1.596, allocations: 260.4 kB / 1.388 GB, free: 12.51 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002676/1.598, allocations: 1.123 MB / 1.389 GB, free: 12.08 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.599, allocations: 0 / 1.389 GB, free: 12.08 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006115/1.599, allocations: 254.9 kB / 1.389 GB, free: 11.98 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/1.602, allocations: 0.7435 MB / 1.39 GB, free: 11.58 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004511/1.607, allocations: 2.246 MB / 1.392 GB, free: 10.23 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/1.607, allocations: 1.181 MB / 1.393 GB, free: 9.305 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00151/1.609, allocations: 397.4 kB / 1.393 GB, free: 9.109 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/1.609, allocations: 101.2 kB / 1.393 GB, free: 9.09 MB / 1.045 GB Notification: Performance of SimCode: time 6.01e-07/1.609, allocations: 0 / 1.393 GB, free: 9.09 MB / 1.045 GB Notification: Performance of Templates: time 0.04198/1.651, allocations: 25.18 MB / 1.418 GB, free: 4.676 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches