Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.498/1.498, allocations: 249.5 MB / 257 MB, free: 6.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 183.2 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008462/0.0008461, allocations: 81.8 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.336e-05/2.338e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2179, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.621/5.839, allocations: 2.224 GB / 3.109 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/5.84, allocations: 90.14 kB / 3.109 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.102/10.94, allocations: 1.388 GB / 4.497 GB, free: 119.7 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.034e-06/10.94, allocations: 0 / 4.497 GB, free: 119.7 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001178/10.94, allocations: 38.84 kB / 4.497 GB, free: 119.7 MB / 0.9011 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.004932/10.95, allocations: 1.885 MB / 4.499 GB, free: 118.3 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/10.95, allocations: 7.594 kB / 4.499 GB, free: 118.3 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/10.95, allocations: 0.4995 MB / 4.5 GB, free: 118.1 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/10.95, allocations: 1.222 MB / 4.501 GB, free: 117.3 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008488/10.95, allocations: 237.7 kB / 4.501 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/10.95, allocations: 65.62 kB / 4.501 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001287/10.95, allocations: 0.7072 MB / 4.502 GB, free: 116.9 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/10.96, allocations: 1.062 MB / 4.503 GB, free: 116.2 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/10.96, allocations: 1.031 kB / 4.503 GB, free: 116.2 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-05/10.96, allocations: 3.812 kB / 4.503 GB, free: 116.2 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.509e-05/10.96, allocations: 51.67 kB / 4.503 GB, free: 116.2 MB / 0.9011 GB Warning: The model contains alias variables with conflicting start and/or 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.006735/10.96, allocations: 6.47 MB / 4.509 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008162/10.96, allocations: 461.6 kB / 4.51 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/10.96, allocations: 183.8 kB / 4.51 GB, free: 109 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003784/10.96, allocations: 286.6 kB / 4.51 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/10.96, allocations: 34.84 kB / 4.51 GB, free: 108.6 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=33): time 3.547e-06/10.96, allocations: 0 / 4.51 GB, free: 108.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33): time 0.001116/10.97, allocations: 478.6 kB / 4.511 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/10.97, allocations: 59.39 kB / 4.511 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009417/10.97, allocations: 0.8298 MB / 4.511 GB, free: 107.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.163e-05/10.97, allocations: 29.7 kB / 4.511 GB, free: 107.2 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004091/10.97, allocations: 0.6969 MB / 4.512 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.622e-05/10.97, allocations: 114.4 kB / 4.512 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/10.97, allocations: 0 / 4.512 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.085e-05/10.97, allocations: 337.9 kB / 4.513 GB, free: 106 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/10.97, allocations: 189.4 kB / 4.513 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/10.97, allocations: 0.5568 MB / 4.513 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/10.97, allocations: 295.2 kB / 4.514 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/10.97, allocations: 4 kB / 4.514 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001064/10.97, allocations: 0.7493 MB / 4.514 GB, free: 104.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008705/10.97, allocations: 4.096 MB / 4.518 GB, free: 99.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/10.97, allocations: 12 kB / 4.518 GB, free: 99.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.122e-05/10.97, allocations: 16 kB / 4.518 GB, free: 99.71 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007911/10.97, allocations: 213 kB / 4.519 GB, free: 99.51 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/10.97, allocations: 27.88 kB / 4.519 GB, free: 99.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/10.97, allocations: 179.6 kB / 4.519 GB, free: 99.32 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.946e-05/10.97, allocations: 39.98 kB / 4.519 GB, free: 99.28 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/10.97, allocations: 4 kB / 4.519 GB, free: 99.27 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009286/10.97, allocations: 0.6058 MB / 4.519 GB, free: 98.67 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/10.97, allocations: 12 kB / 4.519 GB, free: 98.66 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/10.97, allocations: 16.09 kB / 4.519 GB, free: 98.64 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00072/10.97, allocations: 211.7 kB / 4.52 GB, free: 98.43 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/10.97, allocations: 19.94 kB / 4.52 GB, free: 98.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009945/10.98, allocations: 151.3 kB / 4.52 GB, free: 98.27 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-05/10.98, allocations: 44 kB / 4.52 GB, free: 98.23 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001943/10.98, allocations: 132.7 kB / 4.52 GB, free: 98.09 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/10.98, allocations: 114.5 kB / 4.52 GB, free: 97.98 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009431/10.98, allocations: 489.3 kB / 4.521 GB, free: 97.49 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/10.98, allocations: 7.984 kB / 4.521 GB, free: 97.48 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/10.98, allocations: 0 / 4.521 GB, free: 97.48 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/10.98, allocations: 0 / 4.521 GB, free: 97.48 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/10.98, allocations: 1.655 MB / 4.522 GB, free: 95.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/10.98, allocations: 12.02 kB / 4.522 GB, free: 95.72 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/10.98, allocations: 99.86 kB / 4.522 GB, free: 95.62 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/10.98, allocations: 8 kB / 4.522 GB, free: 95.62 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/10.98, allocations: 15.89 kB / 4.522 GB, free: 95.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/10.98, allocations: 11.98 kB / 4.522 GB, free: 95.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/10.98, allocations: 4 kB / 4.522 GB, free: 95.59 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007863/10.98, allocations: 0.8225 MB / 4.523 GB, free: 94.63 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/10.98, allocations: 255.6 kB / 4.523 GB, free: 94.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/10.98, allocations: 4 kB / 4.523 GB, free: 94.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008536/10.98, allocations: 111.8 kB / 4.523 GB, free: 94.25 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/10.98, allocations: 39.78 kB / 4.523 GB, free: 94.21 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/10.98, allocations: 23.98 kB / 4.524 GB, free: 94.19 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0006906/10.98, allocations: 0.6163 MB / 4.524 GB, free: 93.57 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/10.98, allocations: 0 / 4.524 GB, free: 93.57 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002761/10.99, allocations: 0.8029 MB / 4.525 GB, free: 92.76 MB / 0.9011 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004689/10.99, allocations: 3.499 MB / 4.528 GB, free: 89.35 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001519/10.99, allocations: 0.7956 MB / 4.529 GB, free: 88.55 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/10.99, allocations: 8.062 kB / 4.529 GB, free: 88.55 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002628/10.99, allocations: 179.7 kB / 4.529 GB, free: 88.37 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/10.99, allocations: 393.8 kB / 4.53 GB, free: 88 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/11, allocations: 1.596 MB / 4.531 GB, free: 86.32 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005805/11, allocations: 1.225 MB / 4.532 GB, free: 85.06 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001654/11, allocations: 371.9 kB / 4.533 GB, free: 84.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/11, allocations: 59.42 kB / 4.533 GB, free: 84.64 MB / 0.9011 GB Notification: Performance of SimCode: time 1.573e-06/11, allocations: 0 / 4.533 GB, free: 84.64 MB / 0.9011 GB Notification: Performance of Templates: time 0.04616/11.05, allocations: 32.87 MB / 4.565 GB, free: 52.29 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_Example4.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches