Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.505/1.505, allocations: 249.5 MB / 257 MB, free: 6.934 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.001071/0.001071, allocations: 176.9 kB / 316.3 MB, free: 3.301 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.056/2.056, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0009112/0.0009112, allocations: 86.47 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.535e-05/1.537e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2618, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.098/7.36, allocations: 2.208 GB / 3.093 GB, free: 158 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/7.361, allocations: 83.92 kB / 3.093 GB, free: 158 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.659/11.02, allocations: 0.9572 GB / 4.05 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.543e-06/11.02, allocations: 0 / 4.05 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.479e-05/11.02, allocations: 32.53 kB / 4.05 GB, free: 146.3 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.005282/11.03, allocations: 1.723 MB / 4.052 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/11.03, allocations: 7.844 kB / 4.052 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003243/11.03, allocations: 0.5439 MB / 4.052 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002304/11.03, allocations: 1.045 MB / 4.053 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000587/11.03, allocations: 168.2 kB / 4.054 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/11.03, allocations: 54.56 kB / 4.054 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001579/11.03, allocations: 1.036 MB / 4.055 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/11.03, allocations: 1.017 MB / 4.056 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/11.03, allocations: 3.938 kB / 4.056 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-05/11.03, allocations: 5.844 kB / 4.056 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.072e-05/11.03, allocations: 46.25 kB / 4.056 GB, free: 145.1 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.005965/11.04, allocations: 4.015 MB / 4.06 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009652/11.04, allocations: 0.7336 MB / 4.06 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005339/11.04, allocations: 498.2 kB / 4.061 GB, free: 143.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008599/11.04, allocations: 0.6117 MB / 4.061 GB, free: 143 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/11.04, allocations: 38.75 kB / 4.062 GB, free: 142.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 2.796e-06/11.04, allocations: 0 / 4.062 GB, free: 142.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.002234/11.05, allocations: 1.134 MB / 4.063 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/11.05, allocations: 59.97 kB / 4.063 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006052/11.05, allocations: 0.5558 MB / 4.063 GB, free: 142.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.979e-05/11.05, allocations: 31.67 kB / 4.063 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/11.05, allocations: 458.7 kB / 4.064 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/11.05, allocations: 251.6 kB / 4.064 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/11.05, allocations: 0 / 4.064 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.848e-05/11.05, allocations: 337.2 kB / 4.064 GB, free: 142 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004973/11.05, allocations: 396.4 kB / 4.065 GB, free: 142 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005552/11.05, allocations: 0.5215 MB / 4.065 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/11.05, allocations: 0.5749 MB / 4.066 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/11.05, allocations: 0 / 4.066 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001918/11.05, allocations: 1.179 MB / 4.067 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001592/11.05, allocations: 484.7 kB / 4.067 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/11.05, allocations: 6.844 kB / 4.067 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/11.05, allocations: 8.312 kB / 4.067 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/11.05, allocations: 279.5 kB / 4.068 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000498/11.05, allocations: 1.202 MB / 4.069 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/11.05, allocations: 172 kB / 4.069 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/11.05, allocations: 37.84 kB / 4.069 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/11.05, allocations: 3.594 kB / 4.069 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001853/11.06, allocations: 1.071 MB / 4.07 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/11.06, allocations: 0 / 4.07 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/11.06, allocations: 3.594 kB / 4.07 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/11.06, allocations: 266.9 kB / 4.07 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/11.06, allocations: 5.734 kB / 4.07 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/11.06, allocations: 171.3 kB / 4.07 GB, free: 140 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-05/11.06, allocations: 38.14 kB / 4.07 GB, free: 140 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.000269/11.06, allocations: 127 kB / 4.071 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/11.06, allocations: 92.66 kB / 4.071 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/11.06, allocations: 1.2 MB / 4.072 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/11.06, allocations: 7.188 kB / 4.072 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/11.06, allocations: 0 / 4.072 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/11.06, allocations: 3.797 kB / 4.072 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004061/11.07, allocations: 2.582 MB / 4.074 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.872e-06/11.07, allocations: 3.219 kB / 4.074 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/11.07, allocations: 261 kB / 4.075 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/11.07, allocations: 7.812 kB / 4.075 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.485e-05/11.07, allocations: 15.58 kB / 4.075 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004027/11.07, allocations: 1.201 MB / 4.076 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/11.07, allocations: 5.188 kB / 4.076 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/11.07, allocations: 1.483 MB / 4.077 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005716/11.07, allocations: 308.9 kB / 4.078 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/11.07, allocations: 5.734 kB / 4.078 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/11.07, allocations: 156.3 kB / 4.078 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/11.07, allocations: 63.02 kB / 4.078 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.973e-05/11.07, allocations: 42.23 kB / 4.078 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005971/11.07, allocations: 435.8 kB / 4.078 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.81e-07/11.07, allocations: 0 / 4.078 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002088/11.07, allocations: 0.68 MB / 4.079 GB, free: 137.3 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.003647/11.08, allocations: 2.619 MB / 4.081 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00278/11.08, allocations: 1.606 MB / 4.083 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/11.08, allocations: 7.031 kB / 4.083 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000812/11.08, allocations: 0.5163 MB / 4.084 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/11.08, allocations: 432.4 kB / 4.084 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/11.1, allocations: 2.305 MB / 4.086 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/11.1, allocations: 1.114 MB / 4.087 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002202/11.1, allocations: 444.9 kB / 4.088 GB, free: 135 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/11.1, allocations: 80.64 kB / 4.088 GB, free: 135 MB / 0.8855 GB Notification: Performance of SimCode: time 1.153e-06/11.1, allocations: 0 / 4.088 GB, free: 135 MB / 0.8855 GB Notification: Performance of Templates: time 0.04782/11.15, allocations: 31.14 MB / 4.118 GB, free: 129.2 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches