Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.486/1.486, allocations: 249.5 MB / 257 MB, free: 6.973 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.001114/0.001114, allocations: 183.5 kB / 316.3 MB, free: 3.23 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.532/1.532, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0008323/0.0008323, allocations: 82.53 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.768e-05/1.754e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2401, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.632/1.872, allocations: 415.4 MB / 1.291 GB, free: 319.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000483/1.873, allocations: 94.14 kB / 1.291 GB, free: 319.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.352/6.225, allocations: 1.3 GB / 2.591 GB, free: 37.05 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.675e-06/6.225, allocations: 0 / 2.591 GB, free: 37.05 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0007004/6.226, allocations: 95.09 kB / 2.591 GB, free: 36.97 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01216/6.238, allocations: 3.099 MB / 2.594 GB, free: 33.85 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/6.238, allocations: 12.03 kB / 2.594 GB, free: 33.84 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003595/6.241, allocations: 0.5267 MB / 2.595 GB, free: 33.3 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0124/6.254, allocations: 4.324 MB / 2.599 GB, free: 28.99 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/6.254, allocations: 48 kB / 2.599 GB, free: 28.94 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006007/6.255, allocations: 116 kB / 2.599 GB, free: 28.83 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002866/6.257, allocations: 1.619 MB / 2.601 GB, free: 27.21 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/6.26, allocations: 1.825 MB / 2.602 GB, free: 25.24 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.333e-05/6.26, allocations: 7.938 kB / 2.602 GB, free: 25.23 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/6.26, allocations: 4 kB / 2.602 GB, free: 25.23 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/6.26, allocations: 40 kB / 2.602 GB, free: 25.19 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.01467/6.275, allocations: 11.21 MB / 2.613 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/6.277, allocations: 1.242 MB / 2.615 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009524/6.278, allocations: 0.8966 MB / 2.615 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0057/6.283, allocations: 3.389 MB / 2.619 GB, free: 7.621 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008329/6.284, allocations: 0.6487 MB / 2.619 GB, free: 6.957 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002238/6.286, allocations: 0.5727 MB / 2.62 GB, free: 6.383 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=98): time 3.436e-06/6.286, allocations: 3.938 kB / 2.62 GB, free: 6.379 MB / 0.9011 GB Notification: Performance of matching and sorting (n=98): time 0.006605/6.293, allocations: 2.442 MB / 2.622 GB, free: 3.938 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/6.293, allocations: 64.14 kB / 2.622 GB, free: 3.863 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002861/6.296, allocations: 2.197 MB / 2.625 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/6.296, allocations: 33.64 kB / 2.625 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/6.297, allocations: 1.417 MB / 2.626 GB, free: 196 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.7091/7.006, allocations: 325 kB / 2.626 GB, free: 143.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/7.006, allocations: 1.812 kB / 2.626 GB, free: 143.5 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001884/7.007, allocations: 365 kB / 2.627 GB, free: 143.2 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/7.008, allocations: 0.5235 MB / 2.627 GB, free: 143.2 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/7.009, allocations: 1.276 MB / 2.628 GB, free: 142.3 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005254/7.014, allocations: 1.317 MB / 2.63 GB, free: 142.3 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/7.014, allocations: 6.844 kB / 2.63 GB, free: 142.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.009524/7.024, allocations: 2.906 MB / 2.633 GB, free: 142.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001402/7.025, allocations: 5.94 MB / 2.638 GB, free: 135.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-05/7.025, allocations: 13.34 kB / 2.638 GB, free: 135.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/7.027, allocations: 437.1 kB / 2.639 GB, free: 135.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/7.028, allocations: 269.4 kB / 2.639 GB, free: 135.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/7.03, allocations: 2.019 MB / 2.641 GB, free: 134.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/7.033, allocations: 150.7 kB / 2.641 GB, free: 134.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/7.033, allocations: 76.77 kB / 2.641 GB, free: 134.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/7.033, allocations: 4.188 kB / 2.641 GB, free: 134.8 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00735/7.041, allocations: 2.514 MB / 2.644 GB, free: 134.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/7.041, allocations: 15.06 kB / 2.644 GB, free: 134.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009501/7.042, allocations: 403.2 kB / 2.644 GB, free: 134.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009968/7.043, allocations: 270.4 kB / 2.644 GB, free: 134.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007078/7.05, allocations: 5.594 MB / 2.65 GB, free: 131.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/7.052, allocations: 138 kB / 2.65 GB, free: 131.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/7.053, allocations: 68.2 kB / 2.65 GB, free: 131.9 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006306/7.053, allocations: 160.5 kB / 2.65 GB, free: 131.8 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004753/7.054, allocations: 279.4 kB / 2.65 GB, free: 131.7 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008224/7.062, allocations: 2.576 MB / 2.653 GB, free: 131.5 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/7.062, allocations: 9.844 kB / 2.653 GB, free: 131.5 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/7.062, allocations: 5.266 kB / 2.653 GB, free: 131.5 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006446/7.068, allocations: 2.317 MB / 2.655 GB, free: 131.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/7.081, allocations: 4.355 MB / 2.659 GB, free: 130.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/7.081, allocations: 0.7969 kB / 2.659 GB, free: 130.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000735/7.082, allocations: 135.6 kB / 2.66 GB, free: 130.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008701/7.083, allocations: 382.2 kB / 2.66 GB, free: 130.6 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.315e-05/7.083, allocations: 20.44 kB / 2.66 GB, free: 130.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/7.084, allocations: 1.865 MB / 2.662 GB, free: 129.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/7.084, allocations: 1.281 kB / 2.662 GB, free: 129.5 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008342/7.093, allocations: 3.273 MB / 2.665 GB, free: 129.1 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001845/7.095, allocations: 479.1 kB / 2.665 GB, free: 128.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003177/7.095, allocations: 2.031 kB / 2.665 GB, free: 128.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/7.096, allocations: 128 kB / 2.666 GB, free: 128.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/7.096, allocations: 66.64 kB / 2.666 GB, free: 128.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/7.097, allocations: 39.39 kB / 2.666 GB, free: 128.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003179/7.1, allocations: 1.679 MB / 2.667 GB, free: 128.7 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.71e-07/7.1, allocations: 0.9062 kB / 2.667 GB, free: 128.7 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.005912/7.106, allocations: 1.395 MB / 2.669 GB, free: 128.6 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.00219/7.108, allocations: 1.03 MB / 2.67 GB, free: 128.4 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00481/7.113, allocations: 2.758 MB / 2.672 GB, free: 128 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/7.113, allocations: 0 / 2.672 GB, free: 128 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009045/7.114, allocations: 0.6363 MB / 2.673 GB, free: 128 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005177/7.119, allocations: 1.078 MB / 2.674 GB, free: 128 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007012/7.126, allocations: 3.788 MB / 2.678 GB, free: 127 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/7.127, allocations: 2.101 MB / 2.68 GB, free: 126.3 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004967/7.132, allocations: 1.401 MB / 2.681 GB, free: 126.3 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003454/7.133, allocations: 135 kB / 2.681 GB, free: 126.3 MB / 0.9011 GB Notification: Performance of SimCode: time 1.132e-06/7.133, allocations: 0 / 2.681 GB, free: 126.3 MB / 0.9011 GB Notification: Performance of Templates: time 0.09296/7.226, allocations: 53.41 MB / 2.733 GB, free: 124 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_Example1v1.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches