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.005318/0.005318, allocations: 101.1 kB / 15.73 MB, free: 6.473 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.001281/0.001281, allocations: 195 kB / 16.67 MB, free: 6.379 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.421/2.421, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 66.36 kB / 0.9508 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2812, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.9234/1.205, allocations: 237.6 MB / 1.32 GB, free: 3.02 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02217/1.227, allocations: 15.78 MB / 1.335 GB, free: 2.66 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003574/1.231, allocations: 64.25 kB / 1.335 GB, free: 2.66 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003461/1.234, allocations: 1.039 MB / 1.336 GB, free: 2.641 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009335/1.243, allocations: 2.974 MB / 1.339 GB, free: 2.523 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004977/1.248, allocations: 1.687 MB / 1.341 GB, free: 2.461 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005564/1.254, allocations: 3.437 MB / 1.344 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001988/1.256, allocations: 1.289 MB / 1.346 GB, free: 2.195 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007132/1.263, allocations: 2.495 MB / 1.348 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002867/1.266, allocations: 1.079 MB / 1.349 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003459/1.266, allocations: 117.9 kB / 1.349 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007615/1.274, allocations: 3.095 MB / 1.352 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006423/1.275, allocations: 484.4 kB / 1.353 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001425/1.276, allocations: 0.811 MB / 1.353 GB, free: 128 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007395/1.284, allocations: 2.963 MB / 1.356 GB, free: 15.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.284, allocations: 3.312 kB / 1.356 GB, free: 15.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.403e-06/1.284, allocations: 0 / 1.356 GB, free: 15.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.994e-05/1.284, allocations: 4 kB / 1.356 GB, free: 15.23 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.003991/1.288, allocations: 2.001 MB / 1.358 GB, free: 13.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.288, allocations: 7.875 kB / 1.358 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002804/1.29, allocations: 0.4951 MB / 1.359 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/1.293, allocations: 1.167 MB / 1.36 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.383e-05/1.293, allocations: 80.91 kB / 1.36 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/1.293, allocations: 98.22 kB / 1.36 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/1.295, allocations: 1.356 MB / 1.361 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/1.295, allocations: 8.156 kB / 1.361 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/1.296, allocations: 45.25 kB / 1.361 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.888e-05/1.296, allocations: 48.19 kB / 1.362 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/1.298, allocations: 1.054 MB / 1.363 GB, free: 12.05 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.008212/1.306, allocations: 7.386 MB / 1.37 GB, free: 6.156 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/1.308, allocations: 0.5442 MB / 1.37 GB, free: 5.992 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005895/1.308, allocations: 258.5 kB / 1.371 GB, free: 5.918 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003884/1.309, allocations: 288.1 kB / 1.371 GB, free: 5.629 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/1.309, allocations: 34.84 kB / 1.371 GB, free: 5.586 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 2.635e-06/1.309, allocations: 0 / 1.371 GB, free: 5.586 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.002322/1.311, allocations: 0.8363 MB / 1.372 GB, free: 5.309 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/1.311, allocations: 59.84 kB / 1.372 GB, free: 5.242 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/1.313, allocations: 1.392 MB / 1.373 GB, free: 4.707 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.071e-05/1.313, allocations: 35.27 kB / 1.373 GB, free: 4.672 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000499/1.314, allocations: 0.7004 MB / 1.374 GB, free: 4.117 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/1.314, allocations: 119.7 kB / 1.374 GB, free: 4.027 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/1.314, allocations: 172.3 kB / 1.374 GB, free: 3.938 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.314, allocations: 333.1 kB / 1.374 GB, free: 3.621 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007955/1.315, allocations: 315.8 kB / 1.375 GB, free: 3.527 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/1.316, allocations: 0.6887 MB / 1.375 GB, free: 2.949 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/1.318, allocations: 0.9296 MB / 1.376 GB, free: 2.324 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/1.318, allocations: 2.406 kB / 1.376 GB, free: 2.324 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002327/1.32, allocations: 1.048 MB / 1.377 GB, free: 2.004 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.32, allocations: 10.12 kB / 1.377 GB, free: 2.004 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/1.32, allocations: 17.59 kB / 1.377 GB, free: 2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/1.32, allocations: 17.53 kB / 1.377 GB, free: 1.996 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008052/1.321, allocations: 200.5 kB / 1.378 GB, free: 1.992 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/1.321, allocations: 22.48 kB / 1.378 GB, free: 1.992 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/1.322, allocations: 188.4 kB / 1.378 GB, free: 1.906 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-05/1.322, allocations: 41.02 kB / 1.378 GB, free: 1.902 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001216/1.323, allocations: 0.5669 MB / 1.378 GB, free: 1.645 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00108/1.325, allocations: 0.6837 MB / 1.379 GB, free: 1.062 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001674/1.326, allocations: 0.9348 MB / 1.38 GB, free: 440 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.192e-06/1.326, allocations: 4.844 kB / 1.38 GB, free: 440 kB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002307/1.329, allocations: 1.045 MB / 1.381 GB, free: 112 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.329, allocations: 20.64 kB / 1.381 GB, free: 108 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.329, allocations: 10.47 kB / 1.381 GB, free: 108 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/1.329, allocations: 15.62 kB / 1.381 GB, free: 108 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007957/1.329, allocations: 203.7 kB / 1.381 GB, free: 96 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/1.329, allocations: 27.98 kB / 1.381 GB, free: 92 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/1.331, allocations: 128 kB / 1.381 GB, free: 56 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.594e-05/1.331, allocations: 42.14 kB / 1.381 GB, free: 52 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.0002929/1.331, allocations: 236.1 kB / 1.382 GB, free: 15.84 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/1.331, allocations: 143.7 kB / 1.382 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/1.333, allocations: 0.6379 MB / 1.382 GB, free: 15.52 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/1.333, allocations: 12.94 kB / 1.382 GB, free: 15.52 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.333, allocations: 0 / 1.382 GB, free: 15.52 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/1.333, allocations: 2.906 kB / 1.382 GB, free: 15.52 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/1.337, allocations: 1.885 MB / 1.384 GB, free: 14.34 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/1.337, allocations: 8.703 kB / 1.384 GB, free: 14.34 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004784/1.337, allocations: 97.7 kB / 1.384 GB, free: 14.31 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/1.337, allocations: 3.344 kB / 1.384 GB, free: 14.31 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/1.337, allocations: 14.16 kB / 1.384 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/1.337, allocations: 6.75 kB / 1.384 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.337, allocations: 7.25 kB / 1.384 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/1.339, allocations: 0.8006 MB / 1.385 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005437/1.339, allocations: 294.2 kB / 1.385 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/1.339, allocations: 14.44 kB / 1.385 GB, free: 13.49 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009828/1.34, allocations: 69.23 kB / 1.385 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.459e-05/1.341, allocations: 35.75 kB / 1.386 GB, free: 13.44 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.883e-05/1.341, allocations: 27.72 kB / 1.386 GB, free: 13.43 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001377/1.342, allocations: 1.004 MB / 1.387 GB, free: 12.89 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.11e-07/1.342, allocations: 4 kB / 1.387 GB, free: 12.89 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00184/1.344, allocations: 0.5719 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.0005895/1.344, allocations: 269.8 kB / 1.387 GB, free: 12.65 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002806/1.347, allocations: 1.117 MB / 1.388 GB, free: 12.22 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/1.347, allocations: 3.188 kB / 1.388 GB, free: 12.22 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006544/1.348, allocations: 254.7 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.003321/1.351, allocations: 0.742 MB / 1.389 GB, free: 11.72 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/1.356, allocations: 2.244 MB / 1.392 GB, free: 10.38 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006883/1.357, allocations: 1.185 MB / 1.393 GB, free: 9.441 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001366/1.358, allocations: 386.6 kB / 1.393 GB, free: 9.258 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/1.358, allocations: 103 kB / 1.393 GB, free: 9.234 MB / 1.045 GB Notification: Performance of SimCode: time 8.52e-07/1.358, allocations: 0 / 1.393 GB, free: 9.234 MB / 1.045 GB Notification: Performance of Templates: time 0.04264/1.401, allocations: 25.18 MB / 1.418 GB, free: 4.93 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