Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.479/1.479, allocations: 249.3 MB / 261.8 MB, free: 5.887 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.001346/0.001346, allocations: 174.1 kB / 321.3 MB, free: 14.65 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.529/1.529, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0008151/0.0008151, allocations: 84.59 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.215e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.205, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.395/1.6, allocations: 397.9 MB / 1.28 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/1.6, allocations: 91.11 kB / 1.28 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.516/4.116, allocations: 0.6864 GB / 1.967 GB, free: 177 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.074e-06/4.116, allocations: 4.719 kB / 1.967 GB, free: 177 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002986/4.117, allocations: 49.62 kB / 1.967 GB, free: 177 MB / 0.8698 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.004388/4.121, allocations: 1.846 MB / 1.969 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/4.121, allocations: 14 kB / 1.969 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/4.123, allocations: 284.1 kB / 1.969 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00524/4.128, allocations: 2.517 MB / 1.971 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.527e-05/4.128, allocations: 80.69 kB / 1.972 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/4.128, allocations: 104.7 kB / 1.972 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/4.13, allocations: 1.197 MB / 1.973 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/4.13, allocations: 6.438 kB / 1.973 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-05/4.13, allocations: 40.59 kB / 1.973 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/4.13, allocations: 29.95 kB / 1.973 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/4.131, allocations: 0.8804 MB / 1.974 GB, free: 175.6 MB / 0.8698 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.006546/4.138, allocations: 6.611 MB / 1.98 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007651/4.138, allocations: 0.553 MB / 1.981 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/4.139, allocations: 362.6 kB / 1.981 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002411/4.141, allocations: 1.627 MB / 1.983 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004559/4.142, allocations: 336 kB / 1.983 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006417/4.142, allocations: 143.8 kB / 1.983 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 2.354e-06/4.142, allocations: 0 / 1.983 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.001173/4.144, allocations: 0.7563 MB / 1.984 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/4.144, allocations: 63.22 kB / 1.984 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/4.145, allocations: 1.543 MB / 1.985 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/4.145, allocations: 36.52 kB / 1.985 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005646/4.146, allocations: 0.8559 MB / 1.986 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/4.146, allocations: 164.2 kB / 1.986 GB, free: 170 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/4.146, allocations: 14.94 kB / 1.986 GB, free: 170 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.185e-05/4.146, allocations: 338.8 kB / 1.987 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/4.147, allocations: 248.9 kB / 1.987 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005294/4.147, allocations: 0.6898 MB / 1.988 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004607/4.148, allocations: 390.8 kB / 1.988 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/4.148, allocations: 7.891 kB / 1.988 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001621/4.149, allocations: 1.134 MB / 1.989 GB, free: 169 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008114/4.15, allocations: 4.133 MB / 1.993 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/4.15, allocations: 14.59 kB / 1.993 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003708/4.15, allocations: 131.5 kB / 1.993 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/4.151, allocations: 175.4 kB / 1.994 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006093/4.152, allocations: 0.7585 MB / 1.994 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/4.153, allocations: 112.4 kB / 1.994 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/4.153, allocations: 45.48 kB / 1.994 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/4.153, allocations: 6 kB / 1.994 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001601/4.155, allocations: 1.014 MB / 1.995 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/4.155, allocations: 11 kB / 1.995 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/4.155, allocations: 116.4 kB / 1.996 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/4.156, allocations: 168.4 kB / 1.996 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/4.158, allocations: 2.115 MB / 1.998 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/4.159, allocations: 100.5 kB / 1.998 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.652e-05/4.159, allocations: 44.5 kB / 1.998 GB, free: 162.6 MB / 0.8698 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.000216/4.16, allocations: 163.1 kB / 1.998 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/4.16, allocations: 173.5 kB / 1.998 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/4.162, allocations: 0.9424 MB / 1.999 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/4.162, allocations: 6.375 kB / 1.999 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/4.162, allocations: 0 / 1.999 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008955/4.162, allocations: 0.8855 MB / 2 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003036/4.166, allocations: 2.117 MB / 2.002 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/4.166, allocations: 3.938 kB / 2.002 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003943/4.166, allocations: 92.5 kB / 2.002 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002525/4.166, allocations: 132.5 kB / 2.002 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/4.166, allocations: 14.48 kB / 2.002 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004123/4.167, allocations: 0.7444 MB / 2.003 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/4.167, allocations: 0 / 2.003 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/4.168, allocations: 1.303 MB / 2.004 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005932/4.169, allocations: 318 kB / 2.005 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/4.169, allocations: 17.78 kB / 2.005 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007959/4.17, allocations: 75.53 kB / 2.005 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/4.17, allocations: 43.56 kB / 2.005 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.695e-05/4.17, allocations: 25.09 kB / 2.005 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00155/4.171, allocations: 1.208 MB / 2.006 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.5e-07/4.171, allocations: 0 / 2.006 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002699/4.174, allocations: 0.8721 MB / 2.007 GB, free: 160.1 MB / 0.8698 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.00127/4.175, allocations: 0.7996 MB / 2.008 GB, free: 160 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001859/4.177, allocations: 1.416 MB / 2.009 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/4.177, allocations: 0 / 2.009 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004297/4.178, allocations: 311.9 kB / 2.009 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002739/4.181, allocations: 0.7434 MB / 2.01 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/4.184, allocations: 2.229 MB / 2.012 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007822/4.184, allocations: 1.53 MB / 2.014 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002418/4.187, allocations: 0.8905 MB / 2.015 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/4.187, allocations: 93.5 kB / 2.015 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of SimCode: time 2.625e-06/4.187, allocations: 3.844 kB / 2.015 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.05594/4.243, allocations: 38.16 MB / 2.052 GB, free: 156.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_Example3.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches