Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,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_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,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_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002147/0.002147, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.571/2.571, allocations: 436.5 MB / 0.7104 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.000339, allocations: 8 kB / 0.8707 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5929/0.5933, allocations: 153.6 MB / 1.021 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.1975/0.7908, allocations: 176.7 MB / 1.193 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01166/0.8025, allocations: 6.977 MB / 1.2 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00253/0.8051, allocations: 39.69 kB / 1.2 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003055/0.8082, allocations: 0.7194 MB / 1.201 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.007008/0.8152, allocations: 2.25 MB / 1.203 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003319/0.8186, allocations: 1.061 MB / 1.204 GB, free: 5 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003468/0.8221, allocations: 1.627 MB / 1.206 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/0.8238, allocations: 0.843 MB / 1.207 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003359/0.8272, allocations: 1.305 MB / 1.208 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.8286, allocations: 0.6303 MB / 1.208 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003116/0.8289, allocations: 44 kB / 1.208 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/0.8321, allocations: 1.326 MB / 1.21 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005268/0.8327, allocations: 319 kB / 1.21 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005485/0.8332, allocations: 273 kB / 1.21 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002397/0.8356, allocations: 1.598 MB / 1.212 GB, free: 13 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.8357, allocations: 0 / 1.212 GB, free: 13 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8357, allocations: 0 / 1.212 GB, free: 13 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.014e-05/0.8357, allocations: 0 / 1.212 GB, free: 13 MB / 0.9669 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.004735/0.8405, allocations: 1.584 MB / 1.213 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.8405, allocations: 11.98 kB / 1.213 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003438/0.844, allocations: 0.5877 MB / 1.214 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00225/0.8462, allocations: 0.9336 MB / 1.215 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006751/0.8469, allocations: 193.8 kB / 1.215 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002428/0.8472, allocations: 87.98 kB / 1.215 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003095/0.8503, allocations: 1.256 MB / 1.216 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.8503, allocations: 0 / 1.216 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.8505, allocations: 35.98 kB / 1.216 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.023e-05/0.8505, allocations: 49.92 kB / 1.217 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004015/0.8545, allocations: 1.604 MB / 1.218 GB, free: 6.555 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.007322/0.8619, allocations: 4.088 MB / 1.222 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00271/0.8646, allocations: 1.071 MB / 1.223 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007609/0.8654, allocations: 290.9 kB / 1.223 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.8655, allocations: 47.17 kB / 1.223 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 2.745e-06/0.8655, allocations: 3.938 kB / 1.223 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.005155/0.8706, allocations: 1.91 MB / 1.225 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.8707, allocations: 64.05 kB / 1.225 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.8719, allocations: 0.8116 MB / 1.226 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.872, allocations: 41.7 kB / 1.226 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003436/0.8723, allocations: 444.5 kB / 1.227 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.8726, allocations: 260.1 kB / 1.227 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.8727, allocations: 19.94 kB / 1.227 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.8728, allocations: 334 kB / 1.227 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.8743, allocations: 0.5524 MB / 1.228 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.8759, allocations: 0.6833 MB / 1.228 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.8775, allocations: 0.6138 MB / 1.229 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.8775, allocations: 0 / 1.229 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003519/0.881, allocations: 1.404 MB / 1.23 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.8812, allocations: 489.3 kB / 1.231 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.8812, allocations: 0 / 1.231 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/0.8813, allocations: 11.95 kB / 1.231 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.8829, allocations: 279.6 kB / 1.231 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007059/0.8837, allocations: 1.192 MB / 1.232 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.885, allocations: 187.3 kB / 1.232 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.8851, allocations: 43.88 kB / 1.233 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.8851, allocations: 4.781 kB / 1.233 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003292/0.8884, allocations: 1.298 MB / 1.234 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.8884, allocations: 4 kB / 1.234 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.8885, allocations: 4 kB / 1.234 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.8897, allocations: 251.7 kB / 1.234 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.8897, allocations: 7.938 kB / 1.234 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.891, allocations: 202.9 kB / 1.234 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.019e-05/0.8911, allocations: 47.89 kB / 1.234 GB, free: 5.426 MB / 0.9825 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * 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.0005753/0.8917, allocations: 369 kB / 1.235 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.8919, allocations: 106.7 kB / 1.235 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003659/0.8956, allocations: 1.429 MB / 1.236 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.8956, allocations: 8 kB / 1.236 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.8956, allocations: 0 / 1.236 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.8957, allocations: 3.984 kB / 1.236 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006582/0.9022, allocations: 2.989 MB / 1.239 GB, free: 404 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.9023, allocations: 8 kB / 1.239 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/0.9036, allocations: 256.2 kB / 1.239 GB, free: 140 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.035e-05/0.9036, allocations: 8 kB / 1.239 GB, free: 132 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.107e-05/0.9037, allocations: 27.98 kB / 1.239 GB, free: 104 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006269/0.9044, allocations: 1.188 MB / 1.241 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/0.9044, allocations: 7.938 kB / 1.241 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003543/0.9079, allocations: 1.749 MB / 1.242 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006559/0.9086, allocations: 311.6 kB / 1.243 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/0.9088, allocations: 19.98 kB / 1.243 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/0.9102, allocations: 171.6 kB / 1.243 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.9104, allocations: 64.42 kB / 1.243 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.519e-05/0.9105, allocations: 35.97 kB / 1.243 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008125/0.9113, allocations: 0.5622 MB / 1.243 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9113, allocations: 0 / 1.243 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001642/0.9129, allocations: 0.5302 MB / 1.244 GB, free: 11.22 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.0006736/0.9136, allocations: 275.3 kB / 1.244 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005585/0.9192, allocations: 2.123 MB / 1.246 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.9192, allocations: 0 / 1.246 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001842/0.9211, allocations: 0.7107 MB / 1.247 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002789/0.9239, allocations: 0.512 MB / 1.247 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004996/0.9289, allocations: 2.487 MB / 1.25 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007767/0.9297, allocations: 1.114 MB / 1.251 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001836/0.9316, allocations: 391.5 kB / 1.251 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003617/0.9319, allocations: 87.41 kB / 1.251 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/0.932, allocations: 0 / 1.251 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of Templates: time 0.5066/1.439, allocations: 19.63 MB / 1.271 GB, free: 228.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.csv","../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches