Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 387.4 MB / 394.9 MB, free: 13.42 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 180.9 kB / 487.4 MB, free: 5.066 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.767/1.767, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009011/0.0009011, allocations: 99.83 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.155e-05/2.158e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3391, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.35/1.69, allocations: 402.1 MB / 1.599 GB, free: 3.414 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/1.69, allocations: 86.58 kB / 1.599 GB, free: 3.371 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.984/4.674, allocations: 0.7006 GB / 2.299 GB, free: 311.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.114e-06/4.674, allocations: 2.094 kB / 2.299 GB, free: 311.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002815/4.674, allocations: 45.91 kB / 2.299 GB, free: 311.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.005635/4.68, allocations: 1.85 MB / 2.301 GB, free: 310.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/4.68, allocations: 15.94 kB / 2.301 GB, free: 310.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002253/4.682, allocations: 377.9 kB / 2.301 GB, free: 310.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006372/4.688, allocations: 2.556 MB / 2.304 GB, free: 309.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/4.688, allocations: 30.56 kB / 2.304 GB, free: 309.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/4.689, allocations: 64.91 kB / 2.304 GB, free: 309.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001517/4.69, allocations: 0.8493 MB / 2.305 GB, free: 309.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/4.692, allocations: 1.087 MB / 2.306 GB, free: 308.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/4.692, allocations: 5.844 kB / 2.306 GB, free: 308.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-05/4.692, allocations: 3.953 kB / 2.306 GB, free: 308.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/4.692, allocations: 25.34 kB / 2.306 GB, free: 308.9 MB / 1.151 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.007589/4.699, allocations: 6.451 MB / 2.312 GB, free: 304.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008342/4.7, allocations: 0.5879 MB / 2.313 GB, free: 303.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004334/4.701, allocations: 371.7 kB / 2.313 GB, free: 303.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002658/4.703, allocations: 1.608 MB / 2.315 GB, free: 302.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004564/4.704, allocations: 325.9 kB / 2.315 GB, free: 302.5 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007913/4.705, allocations: 112.8 kB / 2.315 GB, free: 302.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 3.948e-06/4.705, allocations: 3 kB / 2.315 GB, free: 302.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=47): time 0.001982/4.707, allocations: 0.8193 MB / 2.316 GB, free: 302.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/4.707, allocations: 59.62 kB / 2.316 GB, free: 302 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/4.709, allocations: 1.361 MB / 2.317 GB, free: 301.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.19e-05/4.709, allocations: 25.7 kB / 2.317 GB, free: 301.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007274/4.709, allocations: 0.8562 MB / 2.318 GB, free: 300.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/4.71, allocations: 160.6 kB / 2.318 GB, free: 300.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/4.71, allocations: 0 / 2.318 GB, free: 300.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001082/4.71, allocations: 343.7 kB / 2.319 GB, free: 300.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/4.71, allocations: 259.3 kB / 2.319 GB, free: 300.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006317/4.711, allocations: 0.6842 MB / 2.32 GB, free: 299.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009918/4.712, allocations: 416.1 kB / 2.32 GB, free: 299.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/4.712, allocations: 0 / 2.32 GB, free: 299.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002176/4.714, allocations: 1.124 MB / 2.321 GB, free: 299.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001274/4.715, allocations: 4.105 MB / 2.325 GB, free: 294.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/4.715, allocations: 12.56 kB / 2.325 GB, free: 294.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003648/4.716, allocations: 127.2 kB / 2.325 GB, free: 294.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/4.716, allocations: 181.3 kB / 2.325 GB, free: 294.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006727/4.717, allocations: 0.7941 MB / 2.326 GB, free: 294.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/4.719, allocations: 94.23 kB / 2.326 GB, free: 294 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.625e-05/4.719, allocations: 45.55 kB / 2.326 GB, free: 294 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/4.719, allocations: 3.906 kB / 2.326 GB, free: 294 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001871/4.721, allocations: 0.9322 MB / 2.327 GB, free: 293.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/4.721, allocations: 9.781 kB / 2.327 GB, free: 293.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002078/4.721, allocations: 111.5 kB / 2.327 GB, free: 293.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006123/4.721, allocations: 176.8 kB / 2.328 GB, free: 293.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/4.723, allocations: 2.032 MB / 2.33 GB, free: 292 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/4.725, allocations: 86.17 kB / 2.33 GB, free: 292 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/4.725, allocations: 45.52 kB / 2.33 GB, free: 292 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.000328/4.725, allocations: 143.4 kB / 2.33 GB, free: 291.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/4.726, allocations: 169 kB / 2.33 GB, free: 291.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/4.728, allocations: 0.9099 MB / 2.331 GB, free: 291.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/4.728, allocations: 7.844 kB / 2.331 GB, free: 291.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/4.728, allocations: 1.594 kB / 2.331 GB, free: 291.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/4.729, allocations: 0.8894 MB / 2.332 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003408/4.732, allocations: 1.998 MB / 2.334 GB, free: 290 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/4.732, allocations: 0 / 2.334 GB, free: 290 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004952/4.733, allocations: 97.73 kB / 2.334 GB, free: 290 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001963/4.733, allocations: 95.33 kB / 2.334 GB, free: 290 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/4.733, allocations: 17.53 kB / 2.334 GB, free: 290 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004365/4.734, allocations: 0.7346 MB / 2.335 GB, free: 289.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/4.734, allocations: 3.844 kB / 2.335 GB, free: 289.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/4.735, allocations: 1.298 MB / 2.336 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000648/4.736, allocations: 304.6 kB / 2.336 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/4.736, allocations: 3.781 kB / 2.336 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007779/4.737, allocations: 82 kB / 2.336 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/4.737, allocations: 39.52 kB / 2.336 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.529e-05/4.737, allocations: 27.2 kB / 2.336 GB, free: 288.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001361/4.739, allocations: 1.044 MB / 2.337 GB, free: 288.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/4.739, allocations: 0 / 2.337 GB, free: 288.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002978/4.742, allocations: 0.854 MB / 2.338 GB, free: 287.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001583/4.743, allocations: 0.7913 MB / 2.339 GB, free: 287.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002107/4.745, allocations: 1.366 MB / 2.34 GB, free: 287 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/4.745, allocations: 0 / 2.34 GB, free: 287 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004205/4.746, allocations: 301 kB / 2.341 GB, free: 286.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003028/4.749, allocations: 0.6104 MB / 2.341 GB, free: 286.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/4.753, allocations: 2.21 MB / 2.343 GB, free: 286 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008999/4.754, allocations: 1.533 MB / 2.345 GB, free: 285.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002812/4.757, allocations: 0.808 MB / 2.346 GB, free: 285.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/4.757, allocations: 96.23 kB / 2.346 GB, free: 285.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.653e-06/4.757, allocations: 0 / 2.346 GB, free: 285.1 MB / 1.151 GB Notification: Performance of Templates: time 0.0534/4.81, allocations: 30.66 MB / 2.376 GB, free: 265.5 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example3.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches