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.007887/0.007887, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001701/0.001701, allocations: 188.6 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.429/2.429, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 58.53 kB / 0.9508 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2775, 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 0.9406/1.218, allocations: 237.6 MB / 1.32 GB, free: 3.027 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01916/1.237, allocations: 15.78 MB / 1.335 GB, free: 2.668 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002856/1.24, allocations: 64.12 kB / 1.335 GB, free: 2.668 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002627/1.243, allocations: 1.042 MB / 1.336 GB, free: 2.648 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00833/1.251, allocations: 2.975 MB / 1.339 GB, free: 2.527 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004406/1.256, allocations: 1.68 MB / 1.341 GB, free: 2.473 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005014/1.261, allocations: 3.441 MB / 1.344 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001787/1.263, allocations: 1.29 MB / 1.346 GB, free: 2.207 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006786/1.269, allocations: 2.533 MB / 1.348 GB, free: 1.762 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002288/1.272, allocations: 1.072 MB / 1.349 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000228/1.272, allocations: 118.2 kB / 1.349 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005985/1.278, allocations: 3.1 MB / 1.352 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004939/1.278, allocations: 481.8 kB / 1.353 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009672/1.279, allocations: 0.8126 MB / 1.353 GB, free: 144 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005216/1.285, allocations: 2.964 MB / 1.356 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.285, allocations: 0 / 1.356 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/1.285, allocations: 0 / 1.356 GB, free: 15.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.138e-05/1.285, allocations: 0 / 1.356 GB, free: 15.25 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.003467/1.288, allocations: 2 MB / 1.358 GB, free: 13.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/1.288, allocations: 10.31 kB / 1.358 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002557/1.291, allocations: 0.4961 MB / 1.359 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/1.293, allocations: 1.174 MB / 1.36 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-05/1.293, allocations: 77.56 kB / 1.36 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/1.293, allocations: 102.2 kB / 1.36 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/1.295, allocations: 1.347 MB / 1.361 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/1.295, allocations: 6.031 kB / 1.361 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/1.296, allocations: 45.56 kB / 1.362 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.416e-05/1.296, allocations: 50.25 kB / 1.362 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/1.298, allocations: 1.051 MB / 1.363 GB, free: 12.07 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.007668/1.305, allocations: 7.391 MB / 1.37 GB, free: 6.176 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/1.307, allocations: 0.5333 MB / 1.37 GB, free: 6.016 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005769/1.308, allocations: 263.3 kB / 1.371 GB, free: 5.941 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003713/1.308, allocations: 279.5 kB / 1.371 GB, free: 5.656 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/1.308, allocations: 37.81 kB / 1.371 GB, free: 5.613 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/1.308, allocations: 4 kB / 1.371 GB, free: 5.609 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.002303/1.31, allocations: 0.8441 MB / 1.372 GB, free: 5.324 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/1.31, allocations: 57.22 kB / 1.372 GB, free: 5.262 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/1.312, allocations: 1.393 MB / 1.373 GB, free: 4.723 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.427e-05/1.312, allocations: 32.52 kB / 1.373 GB, free: 4.688 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005237/1.313, allocations: 0.7086 MB / 1.374 GB, free: 4.129 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.775e-05/1.313, allocations: 117.9 kB / 1.374 GB, free: 4.043 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/1.313, allocations: 166.6 kB / 1.374 GB, free: 3.957 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.313, allocations: 332.5 kB / 1.374 GB, free: 3.641 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007786/1.314, allocations: 317.3 kB / 1.375 GB, free: 3.547 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/1.315, allocations: 0.6956 MB / 1.375 GB, free: 2.961 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/1.317, allocations: 0.9277 MB / 1.376 GB, free: 2.336 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/1.317, allocations: 2.844 kB / 1.376 GB, free: 2.336 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002192/1.319, allocations: 1.047 MB / 1.377 GB, free: 2.016 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/1.319, allocations: 10.02 kB / 1.377 GB, free: 2.016 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/1.319, allocations: 12.97 kB / 1.377 GB, free: 2.016 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/1.319, allocations: 19.84 kB / 1.377 GB, free: 2.012 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007795/1.32, allocations: 202 kB / 1.378 GB, free: 2.004 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.966e-05/1.32, allocations: 25.7 kB / 1.378 GB, free: 2.004 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/1.321, allocations: 181.7 kB / 1.378 GB, free: 1.926 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-05/1.321, allocations: 44.08 kB / 1.378 GB, free: 1.918 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001113/1.322, allocations: 0.5692 MB / 1.378 GB, free: 1.656 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009935/1.323, allocations: 0.6817 MB / 1.379 GB, free: 1.074 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001584/1.325, allocations: 0.929 MB / 1.38 GB, free: 460 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.861e-06/1.325, allocations: 3.438 kB / 1.38 GB, free: 460 kB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002154/1.327, allocations: 1.042 MB / 1.381 GB, free: 136 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/1.327, allocations: 10.66 kB / 1.381 GB, free: 136 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.327, allocations: 18.09 kB / 1.381 GB, free: 132 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/1.327, allocations: 18.28 kB / 1.381 GB, free: 132 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007364/1.328, allocations: 195.6 kB / 1.381 GB, free: 128 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/1.328, allocations: 33.42 kB / 1.381 GB, free: 120 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/1.329, allocations: 128.5 kB / 1.381 GB, free: 84 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.794e-05/1.329, allocations: 44.14 kB / 1.381 GB, free: 76 kB / 1.029 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.0002521/1.329, allocations: 234 kB / 1.382 GB, free: 15.87 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/1.33, allocations: 140.2 kB / 1.382 GB, free: 15.79 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/1.331, allocations: 0.6467 MB / 1.382 GB, free: 15.55 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/1.331, allocations: 9.719 kB / 1.382 GB, free: 15.54 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.331, allocations: 0 / 1.382 GB, free: 15.54 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/1.331, allocations: 7.031 kB / 1.382 GB, free: 15.54 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/1.335, allocations: 1.892 MB / 1.384 GB, free: 14.33 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.335, allocations: 4.312 kB / 1.384 GB, free: 14.33 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004512/1.335, allocations: 93.27 kB / 1.384 GB, free: 14.31 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/1.335, allocations: 3.406 kB / 1.384 GB, free: 14.31 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/1.335, allocations: 18.2 kB / 1.384 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/1.335, allocations: 7.219 kB / 1.384 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.335, allocations: 7.5 kB / 1.384 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/1.337, allocations: 0.8007 MB / 1.385 GB, free: 13.74 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004418/1.337, allocations: 296.3 kB / 1.385 GB, free: 13.49 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/1.337, allocations: 13.44 kB / 1.385 GB, free: 13.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009455/1.338, allocations: 67.86 kB / 1.386 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/1.338, allocations: 31.41 kB / 1.386 GB, free: 13.44 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.181e-05/1.338, allocations: 36.19 kB / 1.386 GB, free: 13.42 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001336/1.34, allocations: 1.001 MB / 1.387 GB, free: 12.89 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.91e-07/1.34, allocations: 0 / 1.387 GB, free: 12.89 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001705/1.341, allocations: 0.5711 MB / 1.387 GB, free: 12.81 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.0005331/1.342, allocations: 271.2 kB / 1.387 GB, free: 12.65 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002623/1.345, allocations: 1.114 MB / 1.388 GB, free: 12.22 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.345, allocations: 2.594 kB / 1.388 GB, free: 12.22 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006411/1.345, allocations: 257.4 kB / 1.389 GB, free: 12.12 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/1.348, allocations: 0.751 MB / 1.389 GB, free: 11.71 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004434/1.353, allocations: 2.241 MB / 1.392 GB, free: 10.37 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/1.354, allocations: 1.186 MB / 1.393 GB, free: 9.438 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001367/1.355, allocations: 380.7 kB / 1.393 GB, free: 9.258 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/1.355, allocations: 97.84 kB / 1.393 GB, free: 9.242 MB / 1.045 GB Notification: Performance of SimCode: time 1.943e-06/1.355, allocations: 4 kB / 1.393 GB, free: 9.238 MB / 1.045 GB Notification: Performance of Templates: time 0.04454/1.4, allocations: 25.6 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