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.008186/0.008186, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.001984/0.001984, allocations: 198.6 kB / 16.68 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.424/2.424, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 62.7 kB / 0.9508 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3111, allocations: 140.4 MB / 1.088 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.9074/1.219, allocations: 237.6 MB / 1.32 GB, free: 3.086 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02545/1.244, allocations: 15.78 MB / 1.335 GB, free: 2.727 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00502/1.249, allocations: 60.22 kB / 1.335 GB, free: 2.727 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003183/1.252, allocations: 1.078 MB / 1.336 GB, free: 2.703 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01009/1.262, allocations: 3.1 MB / 1.339 GB, free: 2.586 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005579/1.268, allocations: 1.689 MB / 1.341 GB, free: 2.531 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006441/1.274, allocations: 3.451 MB / 1.344 GB, free: 2.457 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/1.277, allocations: 1.293 MB / 1.346 GB, free: 2.258 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00717/1.284, allocations: 2.568 MB / 1.348 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002571/1.286, allocations: 1.097 MB / 1.349 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002877/1.287, allocations: 118.3 kB / 1.349 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006813/1.293, allocations: 3.1 MB / 1.352 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006154/1.294, allocations: 479.9 kB / 1.353 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001335/1.295, allocations: 0.8127 MB / 1.354 GB, free: 32 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007915/1.303, allocations: 2.981 MB / 1.357 GB, free: 15.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.303, allocations: 0 / 1.357 GB, free: 15.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.783e-06/1.303, allocations: 4 kB / 1.357 GB, free: 15.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.454e-05/1.303, allocations: 0 / 1.357 GB, free: 15.12 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.004145/1.308, allocations: 2.063 MB / 1.359 GB, free: 13.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.308, allocations: 11.03 kB / 1.359 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002823/1.311, allocations: 0.5001 MB / 1.359 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/1.313, allocations: 1.18 MB / 1.36 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.948e-05/1.313, allocations: 76.44 kB / 1.36 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/1.313, allocations: 100.3 kB / 1.36 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/1.316, allocations: 1.355 MB / 1.362 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/1.316, allocations: 4.406 kB / 1.362 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/1.316, allocations: 42.17 kB / 1.362 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.767e-05/1.316, allocations: 48.31 kB / 1.362 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/1.318, allocations: 1.051 MB / 1.363 GB, free: 11.87 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.008504/1.326, allocations: 7.394 MB / 1.37 GB, free: 5.973 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/1.328, allocations: 0.5321 MB / 1.371 GB, free: 5.812 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006018/1.329, allocations: 270.4 kB / 1.371 GB, free: 5.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003911/1.329, allocations: 288 kB / 1.371 GB, free: 5.441 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/1.329, allocations: 33.66 kB / 1.371 GB, free: 5.402 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/1.329, allocations: 0 / 1.371 GB, free: 5.402 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.002385/1.332, allocations: 0.8487 MB / 1.372 GB, free: 5.113 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/1.332, allocations: 54.59 kB / 1.372 GB, free: 5.051 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/1.333, allocations: 1.395 MB / 1.373 GB, free: 4.512 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.906e-05/1.333, allocations: 32.27 kB / 1.373 GB, free: 4.477 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006547/1.334, allocations: 0.7222 MB / 1.374 GB, free: 3.906 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/1.334, allocations: 123.4 kB / 1.374 GB, free: 3.812 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/1.334, allocations: 172.9 kB / 1.374 GB, free: 3.723 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.335, allocations: 333.4 kB / 1.375 GB, free: 3.406 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007943/1.335, allocations: 315.8 kB / 1.375 GB, free: 3.312 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/1.336, allocations: 0.6949 MB / 1.376 GB, free: 2.727 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/1.338, allocations: 0.9263 MB / 1.377 GB, free: 2.102 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/1.338, allocations: 3.406 kB / 1.377 GB, free: 2.102 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002389/1.341, allocations: 1.052 MB / 1.378 GB, free: 1.781 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/1.341, allocations: 14.91 kB / 1.378 GB, free: 1.777 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/1.341, allocations: 11.77 kB / 1.378 GB, free: 1.777 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.145e-05/1.341, allocations: 19.09 kB / 1.378 GB, free: 1.773 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008465/1.342, allocations: 206.9 kB / 1.378 GB, free: 1.762 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.602e-05/1.342, allocations: 22.17 kB / 1.378 GB, free: 1.762 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/1.343, allocations: 181.7 kB / 1.378 GB, free: 1.684 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-05/1.343, allocations: 45.89 kB / 1.378 GB, free: 1.676 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00124/1.344, allocations: 0.5663 MB / 1.379 GB, free: 1.414 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001053/1.345, allocations: 0.6852 MB / 1.379 GB, free: 0.832 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001651/1.347, allocations: 0.9253 MB / 1.38 GB, free: 216 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.079e-06/1.347, allocations: 4.234 kB / 1.38 GB, free: 216 kB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002223/1.349, allocations: 1.054 MB / 1.381 GB, free: 15.88 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.349, allocations: 8.438 kB / 1.381 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.349, allocations: 13.66 kB / 1.381 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/1.349, allocations: 17.88 kB / 1.381 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000744/1.35, allocations: 203 kB / 1.382 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.273e-05/1.35, allocations: 28.27 kB / 1.382 GB, free: 15.87 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/1.352, allocations: 135.2 kB / 1.382 GB, free: 15.83 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.34e-05/1.352, allocations: 42.67 kB / 1.382 GB, free: 15.82 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.0002806/1.352, allocations: 233.9 kB / 1.382 GB, free: 15.61 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/1.352, allocations: 148.8 kB / 1.382 GB, free: 15.54 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/1.354, allocations: 0.6474 MB / 1.383 GB, free: 15.29 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/1.354, allocations: 10.36 kB / 1.383 GB, free: 15.28 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.354, allocations: 3.938 kB / 1.383 GB, free: 15.28 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.354, allocations: 7.938 kB / 1.383 GB, free: 15.27 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/1.357, allocations: 1.881 MB / 1.385 GB, free: 14.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.357, allocations: 10.34 kB / 1.385 GB, free: 14.08 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004596/1.358, allocations: 83.67 kB / 1.385 GB, free: 14.06 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/1.358, allocations: 9.562 kB / 1.385 GB, free: 14.06 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/1.358, allocations: 14.48 kB / 1.385 GB, free: 14.05 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/1.358, allocations: 8.75 kB / 1.385 GB, free: 14.05 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.358, allocations: 7.781 kB / 1.385 GB, free: 14.05 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/1.359, allocations: 0.805 MB / 1.386 GB, free: 13.49 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000505/1.36, allocations: 309 kB / 1.386 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/1.36, allocations: 19.17 kB / 1.386 GB, free: 13.22 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009856/1.361, allocations: 72.14 kB / 1.386 GB, free: 13.19 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.101e-05/1.361, allocations: 32.14 kB / 1.386 GB, free: 13.17 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/1.361, allocations: 25.67 kB / 1.386 GB, free: 13.16 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001355/1.363, allocations: 1.008 MB / 1.387 GB, free: 12.62 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.71e-07/1.363, allocations: 0 / 1.387 GB, free: 12.62 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001773/1.364, allocations: 0.5828 MB / 1.388 GB, free: 12.53 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.0005533/1.365, allocations: 257.6 kB / 1.388 GB, free: 12.38 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002741/1.368, allocations: 1.127 MB / 1.389 GB, free: 11.94 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.368, allocations: 0 / 1.389 GB, free: 11.94 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006327/1.368, allocations: 252.1 kB / 1.389 GB, free: 11.84 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003473/1.372, allocations: 0.751 MB / 1.39 GB, free: 11.43 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004545/1.376, allocations: 2.27 MB / 1.392 GB, free: 10.06 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007151/1.377, allocations: 1.186 MB / 1.393 GB, free: 9.129 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001282/1.378, allocations: 381.7 kB / 1.394 GB, free: 8.945 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/1.379, allocations: 94.36 kB / 1.394 GB, free: 8.934 MB / 1.045 GB Notification: Performance of SimCode: time 6.12e-07/1.379, allocations: 3.938 kB / 1.394 GB, free: 8.93 MB / 1.045 GB Notification: Performance of Templates: time 0.04391/1.423, allocations: 25.19 MB / 1.418 GB, free: 4.5 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