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.422/1.422, allocations: 249.3 MB / 261.9 MB, free: 5.801 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.001343/0.001343, allocations: 180.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.001065/0.001066, allocations: 94.47 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.083e-05/4.084e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2192, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.549/1.768, allocations: 415.1 MB / 1.297 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/1.769, allocations: 94.75 kB / 1.297 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.674/6.442, allocations: 1.307 GB / 2.604 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.234e-06/6.442, allocations: 0 / 2.604 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0007491/6.443, allocations: 91.95 kB / 2.604 GB, free: 0.5117 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.6783/7.122, allocations: 3.106 MB / 2.607 GB, free: 134.4 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/7.122, allocations: 9.938 kB / 2.607 GB, free: 134.4 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004434/7.126, allocations: 0.527 MB / 2.608 GB, free: 134.2 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01871/7.145, allocations: 4.316 MB / 2.612 GB, free: 133.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002805/7.145, allocations: 141.5 kB / 2.612 GB, free: 133.7 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000627/7.146, allocations: 189.2 kB / 2.612 GB, free: 133.7 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003804/7.15, allocations: 2.166 MB / 2.614 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.151e-05/7.15, allocations: 3.984 kB / 2.614 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/7.15, allocations: 68.25 kB / 2.614 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.364e-05/7.15, allocations: 41.19 kB / 2.614 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/7.153, allocations: 1.672 MB / 2.616 GB, free: 133.3 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.0173/7.171, allocations: 11.51 MB / 2.627 GB, free: 127 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/7.173, allocations: 1.18 MB / 2.628 GB, free: 127 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/7.174, allocations: 0.899 MB / 2.629 GB, free: 127 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007829/7.182, allocations: 3.473 MB / 2.633 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001484/7.183, allocations: 0.6727 MB / 2.633 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003485/7.187, allocations: 0.6194 MB / 2.634 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=98): time 7.714e-06/7.187, allocations: 0 / 2.634 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=98): time 0.004175/7.191, allocations: 1.786 MB / 2.636 GB, free: 125 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/7.191, allocations: 68.44 kB / 2.636 GB, free: 125 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004737/7.196, allocations: 2.447 MB / 2.638 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002463/7.196, allocations: 58.7 kB / 2.638 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001281/7.197, allocations: 1.423 MB / 2.64 GB, free: 124.4 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000351/7.198, allocations: 349.7 kB / 2.64 GB, free: 124.2 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/7.198, allocations: 29.28 kB / 2.64 GB, free: 124.2 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000115/7.198, allocations: 366.6 kB / 2.64 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008881/7.199, allocations: 0.5132 MB / 2.641 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/7.2, allocations: 1.284 MB / 2.642 GB, free: 123 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/7.201, allocations: 0.7334 MB / 2.643 GB, free: 122.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/7.201, allocations: 3.344 kB / 2.643 GB, free: 122.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004803/7.206, allocations: 2.367 MB / 2.645 GB, free: 122.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001299/7.207, allocations: 5.976 MB / 2.651 GB, free: 116.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/7.207, allocations: 13.56 kB / 2.651 GB, free: 116.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/7.209, allocations: 0.5045 MB / 2.651 GB, free: 116.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/7.21, allocations: 269 kB / 2.652 GB, free: 116.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/7.212, allocations: 1.883 MB / 2.654 GB, free: 115.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/7.215, allocations: 189.4 kB / 2.654 GB, free: 115.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/7.215, allocations: 82.27 kB / 2.654 GB, free: 115.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/7.215, allocations: 5.938 kB / 2.654 GB, free: 115.2 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003835/7.219, allocations: 2.126 MB / 2.656 GB, free: 115 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.137e-05/7.219, allocations: 12.66 kB / 2.656 GB, free: 115 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/7.22, allocations: 474.4 kB / 2.656 GB, free: 114.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/7.221, allocations: 260.1 kB / 2.657 GB, free: 114.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007118/7.229, allocations: 5.824 MB / 2.662 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003439/7.232, allocations: 186.2 kB / 2.662 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/7.232, allocations: 74.22 kB / 2.663 GB, free: 112.1 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.000594/7.233, allocations: 192.7 kB / 2.663 GB, free: 112 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007881/7.234, allocations: 299.5 kB / 2.663 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004156/7.238, allocations: 2.094 MB / 2.665 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/7.238, allocations: 14.33 kB / 2.665 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/7.238, allocations: 3.938 kB / 2.665 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002738/7.241, allocations: 1.824 MB / 2.667 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007977/7.249, allocations: 4.052 MB / 2.671 GB, free: 110.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/7.249, allocations: 0 / 2.671 GB, free: 110.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006579/7.249, allocations: 129.9 kB / 2.671 GB, free: 110.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009074/7.25, allocations: 477.7 kB / 2.671 GB, free: 110.7 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.27e-05/7.25, allocations: 27.05 kB / 2.671 GB, free: 110.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/7.252, allocations: 1.841 MB / 2.673 GB, free: 109.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/7.252, allocations: 3.906 kB / 2.673 GB, free: 109.7 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004236/7.256, allocations: 2.789 MB / 2.676 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002364/7.258, allocations: 496.5 kB / 2.676 GB, free: 109 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004251/7.259, allocations: 17.47 kB / 2.676 GB, free: 109 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/7.26, allocations: 144.5 kB / 2.677 GB, free: 109 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/7.26, allocations: 73.44 kB / 2.677 GB, free: 108.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.624e-05/7.26, allocations: 46.22 kB / 2.677 GB, free: 108.9 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002987/7.263, allocations: 1.897 MB / 2.679 GB, free: 108.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.41e-07/7.263, allocations: 0 / 2.679 GB, free: 108.8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.005922/7.269, allocations: 1.449 MB / 2.68 GB, free: 108.7 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.002389/7.272, allocations: 1.084 MB / 2.681 GB, free: 108.5 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004875/7.277, allocations: 2.867 MB / 2.684 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/7.277, allocations: 0 / 2.684 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009851/7.278, allocations: 0.6565 MB / 2.684 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006207/7.284, allocations: 1.185 MB / 2.686 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007106/7.291, allocations: 3.862 MB / 2.689 GB, free: 107.1 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/7.293, allocations: 2.095 MB / 2.691 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.005907/7.299, allocations: 1.595 MB / 2.693 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005417/7.299, allocations: 137.9 kB / 2.693 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of SimCode: time 1.593e-06/7.299, allocations: 0 / 2.693 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of Templates: time 0.104/7.403, allocations: 63.26 MB / 2.755 GB, free: 103.5 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