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.614/1.614, allocations: 249.3 MB / 261.8 MB, free: 5.809 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.001117/0.001117, allocations: 180.9 kB / 321.3 MB, free: 14.66 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.809/1.809, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.001028/0.001028, allocations: 87.8 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.496e-05/4.499e-05, allocations: 4 kB / 0.7879 GB, free: 97.14 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3264, allocations: 106.3 MB / 0.8918 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.815/7.141, allocations: 2.207 GB / 3.099 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/7.142, allocations: 83.95 kB / 3.099 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.766/10.91, allocations: 0.9683 GB / 4.068 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.563e-06/10.91, allocations: 0 / 4.068 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001529/10.91, allocations: 32.97 kB / 4.068 GB, free: 143.2 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.00671/10.91, allocations: 1.728 MB / 4.069 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/10.91, allocations: 11.53 kB / 4.069 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003431/10.92, allocations: 0.543 MB / 4.07 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002855/10.92, allocations: 1.049 MB / 4.071 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000644/10.92, allocations: 205.6 kB / 4.071 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003274/10.92, allocations: 85.78 kB / 4.071 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/10.92, allocations: 1.13 MB / 4.072 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/10.92, allocations: 0 / 4.072 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/10.92, allocations: 33.8 kB / 4.072 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.606e-05/10.92, allocations: 48.98 kB / 4.072 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/10.93, allocations: 1.174 MB / 4.073 GB, free: 142 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.007333/10.93, allocations: 4.087 MB / 4.077 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/10.93, allocations: 0.7238 MB / 4.078 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007061/10.94, allocations: 0.4986 MB / 4.079 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009348/10.94, allocations: 0.6072 MB / 4.079 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/10.94, allocations: 45.97 kB / 4.079 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 3.006e-06/10.94, allocations: 0 / 4.079 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.001995/10.94, allocations: 0.9648 MB / 4.08 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/10.94, allocations: 63.42 kB / 4.08 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/10.94, allocations: 0.694 MB / 4.081 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001384/10.94, allocations: 46.83 kB / 4.081 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/10.94, allocations: 444.9 kB / 4.081 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/10.94, allocations: 257.8 kB / 4.082 GB, free: 139 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.747e-05/10.94, allocations: 20.72 kB / 4.082 GB, free: 139 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.32e-05/10.94, allocations: 331.6 kB / 4.082 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005744/10.94, allocations: 383.3 kB / 4.082 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006895/10.94, allocations: 0.5155 MB / 4.083 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006527/10.94, allocations: 450.4 kB / 4.083 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/10.94, allocations: 0 / 4.083 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001726/10.94, allocations: 1.04 MB / 4.084 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001573/10.94, allocations: 491.8 kB / 4.085 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/10.94, allocations: 7.938 kB / 4.085 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/10.94, allocations: 2.906 kB / 4.085 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/10.95, allocations: 270.9 kB / 4.085 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000572/10.95, allocations: 1.194 MB / 4.086 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/10.95, allocations: 197.2 kB / 4.086 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/10.95, allocations: 35.84 kB / 4.086 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/10.95, allocations: 8.953 kB / 4.086 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001449/10.95, allocations: 0.9396 MB / 4.087 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/10.95, allocations: 0 / 4.087 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/10.95, allocations: 3.125 kB / 4.087 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/10.95, allocations: 250.5 kB / 4.088 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/10.95, allocations: 10.72 kB / 4.088 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/10.95, allocations: 189.6 kB / 4.088 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/10.95, allocations: 34.22 kB / 4.088 GB, free: 136.6 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.0002593/10.95, allocations: 156.8 kB / 4.088 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/10.95, allocations: 109.9 kB / 4.088 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/10.95, allocations: 1.049 MB / 4.089 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.036e-06/10.95, allocations: 6.969 kB / 4.089 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/10.95, allocations: 2.531 kB / 4.089 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/10.95, allocations: 3.844 kB / 4.089 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00407/10.96, allocations: 2.524 MB / 4.092 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/10.96, allocations: 3.938 kB / 4.092 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/10.96, allocations: 250.8 kB / 4.092 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/10.96, allocations: 6.969 kB / 4.092 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.315e-05/10.96, allocations: 18.38 kB / 4.092 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003934/10.96, allocations: 1.198 MB / 4.093 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/10.96, allocations: 7.594 kB / 4.093 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/10.96, allocations: 1.333 MB / 4.094 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005858/10.96, allocations: 314.2 kB / 4.095 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/10.96, allocations: 19.97 kB / 4.095 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/10.96, allocations: 165.2 kB / 4.095 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/10.96, allocations: 64.92 kB / 4.095 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.602e-05/10.96, allocations: 40.69 kB / 4.095 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006898/10.97, allocations: 0.5465 MB / 4.095 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.6e-07/10.97, allocations: 0 / 4.095 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002395/10.97, allocations: 0.7595 MB / 4.096 GB, free: 133.6 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.003514/10.97, allocations: 2.359 MB / 4.099 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002755/10.97, allocations: 1.586 MB / 4.1 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/10.97, allocations: 4 kB / 4.1 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007852/10.97, allocations: 0.5024 MB / 4.101 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/10.98, allocations: 0.5067 MB / 4.101 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/10.98, allocations: 1.525 MB / 4.103 GB, free: 130.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/10.98, allocations: 1.114 MB / 4.104 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001923/10.98, allocations: 465.9 kB / 4.104 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/10.98, allocations: 72.55 kB / 4.104 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of SimCode: time 6.61e-07/10.98, allocations: 0 / 4.104 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.06729/11.05, allocations: 52.96 MB / 4.156 GB, free: 90.22 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