Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2") 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.8 MB, free: 5.953 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.001046/0.001046, allocations: 185.8 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.472/1.472, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0008029/0.000803, allocations: 86.45 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.052e-05, allocations: 0 / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2051, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.517/1.722, allocations: 398 MB / 1.28 GB, free: 314 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/1.722, allocations: 90.62 kB / 1.281 GB, free: 314 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.519/3.241, allocations: 478.3 MB / 1.748 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.202e-06/3.242, allocations: 0 / 1.748 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002695/3.242, allocations: 43.16 kB / 1.748 GB, free: 182.7 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004357/3.246, allocations: 1.52 MB / 1.749 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/3.246, allocations: 7.812 kB / 1.749 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/3.248, allocations: 237.5 kB / 1.749 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005458/3.253, allocations: 1.928 MB / 1.751 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.451e-05/3.253, allocations: 65.62 kB / 1.751 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/3.254, allocations: 85.62 kB / 1.751 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/3.255, allocations: 0.9224 MB / 1.752 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/3.255, allocations: 3.938 kB / 1.752 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.686e-05/3.255, allocations: 35.34 kB / 1.752 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/3.255, allocations: 19.53 kB / 1.752 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009594/3.256, allocations: 0.6405 MB / 1.753 GB, free: 179.2 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.005439/3.262, allocations: 4.597 MB / 1.757 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008817/3.263, allocations: 0.541 MB / 1.758 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004745/3.263, allocations: 290.4 kB / 1.758 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002943/3.266, allocations: 1.71 MB / 1.76 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000495/3.266, allocations: 306.1 kB / 1.76 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006397/3.267, allocations: 111.6 kB / 1.76 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=46): time 3.376e-06/3.267, allocations: 3.031 kB / 1.76 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=46): time 0.001224/3.268, allocations: 0.6478 MB / 1.761 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/3.268, allocations: 59.19 kB / 1.761 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/3.27, allocations: 1.111 MB / 1.762 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.628e-05/3.27, allocations: 37.39 kB / 1.762 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004789/3.27, allocations: 0.6429 MB / 1.763 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/3.271, allocations: 157.8 kB / 1.763 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/3.271, allocations: 11.56 kB / 1.763 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.785e-05/3.271, allocations: 336.3 kB / 1.763 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/3.271, allocations: 207.4 kB / 1.763 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004738/3.272, allocations: 0.5356 MB / 1.764 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/3.272, allocations: 318.1 kB / 1.764 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/3.272, allocations: 3.188 kB / 1.764 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001362/3.273, allocations: 0.9489 MB / 1.765 GB, free: 170 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006395/3.274, allocations: 3.048 MB / 1.768 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/3.274, allocations: 9.75 kB / 1.768 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003467/3.274, allocations: 142.9 kB / 1.768 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/3.275, allocations: 149.3 kB / 1.768 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006433/3.276, allocations: 0.7573 MB / 1.769 GB, free: 166 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009917/3.277, allocations: 82.06 kB / 1.769 GB, free: 166 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-05/3.277, allocations: 42.06 kB / 1.769 GB, free: 166 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/3.277, allocations: 5.75 kB / 1.769 GB, free: 166 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001304/3.278, allocations: 0.8687 MB / 1.77 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/3.278, allocations: 7.781 kB / 1.77 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/3.278, allocations: 103.9 kB / 1.77 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/3.279, allocations: 138.2 kB / 1.77 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/3.28, allocations: 2.198 MB / 1.773 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009335/3.281, allocations: 88.23 kB / 1.773 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.914e-05/3.282, allocations: 40.67 kB / 1.773 GB, free: 163.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.000226/3.282, allocations: 154.1 kB / 1.773 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/3.282, allocations: 125.3 kB / 1.773 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/3.283, allocations: 0.8185 MB / 1.774 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/3.284, allocations: 7.516 kB / 1.774 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/3.284, allocations: 3.656 kB / 1.774 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008714/3.284, allocations: 0.8175 MB / 1.775 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002625/3.287, allocations: 1.821 MB / 1.776 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/3.287, allocations: 112 / 1.776 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003855/3.287, allocations: 91.81 kB / 1.776 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002459/3.288, allocations: 116.9 kB / 1.777 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/3.288, allocations: 11.98 kB / 1.777 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004784/3.288, allocations: 0.7531 MB / 1.777 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/3.288, allocations: 7.922 kB / 1.777 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/3.29, allocations: 1.135 MB / 1.778 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004917/3.29, allocations: 271.3 kB / 1.779 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/3.29, allocations: 15.98 kB / 1.779 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006161/3.291, allocations: 69.28 kB / 1.779 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/3.291, allocations: 40.38 kB / 1.779 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-05/3.291, allocations: 27.92 kB / 1.779 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001117/3.292, allocations: 0.8642 MB / 1.78 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.7e-07/3.292, allocations: 2.875 kB / 1.78 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002577/3.295, allocations: 0.7176 MB / 1.78 GB, free: 156.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_dp.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 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001608/3.296, allocations: 0.7635 MB / 1.781 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002255/3.299, allocations: 1.27 MB / 1.782 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/3.299, allocations: 2.625 kB / 1.782 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00047/3.299, allocations: 294.3 kB / 1.783 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/3.302, allocations: 0.5576 MB / 1.783 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/3.305, allocations: 1.687 MB / 1.785 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000769/3.305, allocations: 1.298 MB / 1.786 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001933/3.307, allocations: 0.5578 MB / 1.787 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/3.307, allocations: 79.41 kB / 1.787 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.182e-06/3.307, allocations: 0 / 1.787 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.04676/3.354, allocations: 31.18 MB / 1.817 GB, free: 119.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_Example2.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches