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.508/1.508, allocations: 249.5 MB / 257 MB, free: 6.922 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: 183.5 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, 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.001019/0.001019, allocations: 92.14 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.885e-05/2.887e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3025, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.052/7.354, allocations: 2.208 GB / 3.093 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/7.355, allocations: 91.91 kB / 3.093 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.938/11.29, allocations: 0.9576 GB / 4.051 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.495e-06/11.29, allocations: 2.297 kB / 4.051 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001023/11.29, allocations: 32.94 kB / 4.051 GB, free: 148.1 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.005965/11.3, allocations: 1.735 MB / 4.052 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/11.3, allocations: 7.375 kB / 4.052 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003378/11.3, allocations: 0.545 MB / 4.053 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/11.3, allocations: 1.045 MB / 4.054 GB, free: 147 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006338/11.31, allocations: 171 kB / 4.054 GB, free: 147 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/11.31, allocations: 51.78 kB / 4.054 GB, free: 147 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001729/11.31, allocations: 1.031 MB / 4.055 GB, free: 147 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/11.31, allocations: 1.02 MB / 4.056 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/11.31, allocations: 3.5 kB / 4.056 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/11.31, allocations: 0 / 4.056 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.368e-05/11.31, allocations: 41.12 kB / 4.056 GB, free: 146.9 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.006564/11.32, allocations: 4.023 MB / 4.06 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/11.32, allocations: 0.7283 MB / 4.061 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006267/11.32, allocations: 497.2 kB / 4.061 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008756/11.32, allocations: 0.608 MB / 4.062 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/11.32, allocations: 39.09 kB / 4.062 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 5.089e-06/11.32, allocations: 3.094 kB / 4.062 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.00234/11.32, allocations: 1.139 MB / 4.063 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/11.32, allocations: 60 kB / 4.063 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006985/11.32, allocations: 0.5613 MB / 4.064 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.444e-05/11.32, allocations: 25.7 kB / 4.064 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/11.32, allocations: 459.1 kB / 4.064 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/11.32, allocations: 257.8 kB / 4.064 GB, free: 144.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/11.32, allocations: 3.906 kB / 4.064 GB, free: 144.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.767e-05/11.32, allocations: 333.6 kB / 4.065 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004999/11.32, allocations: 396.3 kB / 4.065 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005996/11.32, allocations: 0.5184 MB / 4.066 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/11.32, allocations: 0.5821 MB / 4.066 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/11.32, allocations: 0 / 4.066 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001972/11.33, allocations: 1.179 MB / 4.067 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001483/11.33, allocations: 489.8 kB / 4.068 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/11.33, allocations: 3.438 kB / 4.068 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/11.33, allocations: 3.938 kB / 4.068 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/11.33, allocations: 280.6 kB / 4.068 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005623/11.33, allocations: 1.208 MB / 4.069 GB, free: 142 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/11.33, allocations: 171 kB / 4.069 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/11.33, allocations: 37.23 kB / 4.07 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/11.33, allocations: 5.719 kB / 4.07 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001815/11.33, allocations: 1.061 MB / 4.071 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/11.33, allocations: 0 / 4.071 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.183e-06/11.33, allocations: 3.875 kB / 4.071 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/11.33, allocations: 261.2 kB / 4.071 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/11.33, allocations: 3.25 kB / 4.071 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/11.33, allocations: 173.5 kB / 4.071 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.24e-05/11.33, allocations: 41.58 kB / 4.071 GB, free: 141.9 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.0002686/11.34, allocations: 118.3 kB / 4.071 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/11.34, allocations: 100.5 kB / 4.071 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/11.34, allocations: 1.201 MB / 4.072 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/11.34, allocations: 7.688 kB / 4.072 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/11.34, allocations: 3.562 kB / 4.072 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/11.34, allocations: 6.047 kB / 4.072 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00417/11.34, allocations: 2.575 MB / 4.075 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/11.34, allocations: 3.656 kB / 4.075 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/11.34, allocations: 254.1 kB / 4.075 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/11.34, allocations: 9.375 kB / 4.075 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.226e-05/11.34, allocations: 18.38 kB / 4.075 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006003/11.34, allocations: 1.201 MB / 4.076 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/11.34, allocations: 3.875 kB / 4.076 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/11.35, allocations: 1.486 MB / 4.078 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007039/11.35, allocations: 313.2 kB / 4.078 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/11.35, allocations: 9.312 kB / 4.078 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/11.35, allocations: 152.1 kB / 4.078 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/11.35, allocations: 62.67 kB / 4.078 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.801e-05/11.35, allocations: 39.36 kB / 4.078 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005983/11.35, allocations: 445.5 kB / 4.079 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/11.35, allocations: 0 / 4.079 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00223/11.35, allocations: 0.6835 MB / 4.079 GB, free: 139.1 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.003681/11.36, allocations: 2.612 MB / 4.082 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002898/11.36, allocations: 1.612 MB / 4.084 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/11.36, allocations: 3.625 kB / 4.084 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008219/11.36, allocations: 0.5204 MB / 4.084 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/11.36, allocations: 426 kB / 4.085 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/11.38, allocations: 2.301 MB / 4.087 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/11.38, allocations: 1.119 MB / 4.088 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002961/11.38, allocations: 443.5 kB / 4.088 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003979/11.38, allocations: 77.91 kB / 4.088 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.582e-06/11.38, allocations: 0 / 4.088 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.04907/11.43, allocations: 31.14 MB / 4.119 GB, free: 134.2 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