Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.475/1.475, allocations: 249.3 MB / 261.8 MB, free: 5.895 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.001066/0.001066, allocations: 176.5 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.869/1.869, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0009557/0.0009558, allocations: 86.56 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.136e-05/5.138e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3054, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.925/7.231, allocations: 2.208 GB / 3.099 GB, free: 122 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/7.231, allocations: 81.02 kB / 3.099 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.852/11.08, allocations: 0.9687 GB / 4.068 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.492e-06/11.08, allocations: 2.812 kB / 4.068 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001752/11.08, allocations: 30.23 kB / 4.068 GB, free: 139.8 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.006738/11.09, allocations: 1.73 MB / 4.07 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/11.09, allocations: 7.219 kB / 4.07 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003576/11.09, allocations: 0.547 MB / 4.07 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/11.1, allocations: 1.043 MB / 4.071 GB, free: 137.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005991/11.1, allocations: 205 kB / 4.072 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/11.1, allocations: 86.06 kB / 4.072 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/11.1, allocations: 1.133 MB / 4.073 GB, free: 137 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/11.1, allocations: 0 / 4.073 GB, free: 137 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/11.1, allocations: 35.33 kB / 4.073 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-05/11.1, allocations: 52.25 kB / 4.073 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/11.1, allocations: 1.173 MB / 4.074 GB, free: 136.4 MB / 0.8855 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.006385/11.11, allocations: 4.085 MB / 4.078 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/11.11, allocations: 0.736 MB / 4.079 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006218/11.11, allocations: 0.4982 MB / 4.079 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008734/11.11, allocations: 0.6119 MB / 4.08 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/11.11, allocations: 39.19 kB / 4.08 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 3.206e-06/11.11, allocations: 0 / 4.08 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.00181/11.11, allocations: 0.9657 MB / 4.081 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/11.11, allocations: 63.98 kB / 4.081 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007971/11.11, allocations: 0.6973 MB / 4.082 GB, free: 131 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.233e-05/11.11, allocations: 48.52 kB / 4.082 GB, free: 130.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/11.11, allocations: 449.7 kB / 4.082 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/11.11, allocations: 265.6 kB / 4.082 GB, free: 130.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/11.11, allocations: 15.34 kB / 4.082 GB, free: 130.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.575e-05/11.11, allocations: 329.9 kB / 4.083 GB, free: 130 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/11.11, allocations: 385 kB / 4.083 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/11.12, allocations: 0.51 MB / 4.083 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005754/11.12, allocations: 444.2 kB / 4.084 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/11.12, allocations: 6.453 kB / 4.084 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001491/11.12, allocations: 1.04 MB / 4.085 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001572/11.12, allocations: 482.8 kB / 4.085 GB, free: 128.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/11.12, allocations: 3.938 kB / 4.085 GB, free: 128.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/11.12, allocations: 3.875 kB / 4.085 GB, free: 128.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/11.12, allocations: 265.3 kB / 4.086 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005469/11.12, allocations: 1.198 MB / 4.087 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/11.12, allocations: 196.3 kB / 4.087 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/11.12, allocations: 47.09 kB / 4.087 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/11.12, allocations: 3.906 kB / 4.087 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001366/11.12, allocations: 0.9342 MB / 4.088 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/11.12, allocations: 0 / 4.088 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/11.12, allocations: 9.25 kB / 4.088 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/11.12, allocations: 256.6 kB / 4.088 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/11.12, allocations: 1.625 kB / 4.088 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/11.12, allocations: 193.2 kB / 4.088 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.694e-05/11.12, allocations: 37.64 kB / 4.088 GB, free: 126.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002452/11.12, allocations: 155.7 kB / 4.089 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/11.13, allocations: 104.4 kB / 4.089 GB, free: 126 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/11.13, allocations: 1.052 MB / 4.09 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/11.13, allocations: 7.625 kB / 4.09 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/11.13, allocations: 0 / 4.09 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/11.13, allocations: 7.047 kB / 4.09 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/11.13, allocations: 2.51 MB / 4.092 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/11.13, allocations: 3.844 kB / 4.092 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/11.13, allocations: 253 kB / 4.092 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/11.13, allocations: 8 kB / 4.092 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/11.13, allocations: 27.97 kB / 4.092 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004054/11.13, allocations: 1.198 MB / 4.094 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/11.13, allocations: 7.938 kB / 4.094 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/11.13, allocations: 1.334 MB / 4.095 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005551/11.13, allocations: 307.5 kB / 4.095 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/11.13, allocations: 16 kB / 4.095 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/11.14, allocations: 173.8 kB / 4.095 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/11.14, allocations: 64.12 kB / 4.095 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.541e-05/11.14, allocations: 35.97 kB / 4.096 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007454/11.14, allocations: 0.554 MB / 4.096 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/11.14, allocations: 0 / 4.096 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002656/11.14, allocations: 0.7525 MB / 4.097 GB, free: 118.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003832/11.14, allocations: 2.357 MB / 4.099 GB, free: 117 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00297/11.15, allocations: 1.581 MB / 4.101 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/11.15, allocations: 0 / 4.101 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008671/11.15, allocations: 0.5101 MB / 4.101 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/11.15, allocations: 0.4988 MB / 4.102 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/11.15, allocations: 1.523 MB / 4.103 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/11.15, allocations: 1.115 MB / 4.104 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002025/11.16, allocations: 467.8 kB / 4.105 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/11.16, allocations: 71.41 kB / 4.105 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.513e-06/11.16, allocations: 0 / 4.105 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.06693/11.22, allocations: 52.96 MB / 4.156 GB, free: 58.77 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches