Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.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_10_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_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009421/0.0009423, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001027/0.001027, allocations: 172.7 kB / 15.95 MB, free: 208 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.379/1.379, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.658/2.658, allocations: 437.7 MB / 0.7117 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003561, allocations: 11.98 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6305/0.6308, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.2099/0.8408, allocations: 195.2 MB / 1.213 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01276/0.8536, allocations: 6.621 MB / 1.219 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/0.8556, allocations: 35.75 kB / 1.22 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.8575, allocations: 0.4928 MB / 1.22 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005268/0.8628, allocations: 1.8 MB / 1.222 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002606/0.8654, allocations: 0.9158 MB / 1.223 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003851/0.8693, allocations: 3.202 MB / 1.226 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.8708, allocations: 0.7921 MB / 1.227 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003502/0.8743, allocations: 1.521 MB / 1.228 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.8759, allocations: 0.8754 MB / 1.229 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002423/0.8761, allocations: 44 kB / 1.229 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003448/0.8796, allocations: 1.532 MB / 1.23 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005146/0.8801, allocations: 346.7 kB / 1.231 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004581/0.8806, allocations: 265.1 kB / 1.231 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002315/0.8829, allocations: 1.719 MB / 1.233 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8829, allocations: 4 kB / 1.233 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8829, allocations: 0 / 1.233 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.813e-05/0.883, allocations: 0 / 1.233 GB, free: 8.09 MB / 0.9825 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.004255/0.8873, allocations: 1.61 MB / 1.234 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.8873, allocations: 12.03 kB / 1.234 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003109/0.8904, allocations: 0.5799 MB / 1.235 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.8924, allocations: 0.9375 MB / 1.236 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005905/0.893, allocations: 189.9 kB / 1.236 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.8932, allocations: 84 kB / 1.236 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002803/0.896, allocations: 1.26 MB / 1.237 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.8961, allocations: 4 kB / 1.237 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.8962, allocations: 32 kB / 1.237 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.575e-05/0.8963, allocations: 45.98 kB / 1.237 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003625/0.8999, allocations: 1.62 MB / 1.239 GB, free: 1.609 MB / 0.9825 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.006265/0.9062, allocations: 4.088 MB / 1.243 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002366/0.9085, allocations: 1.044 MB / 1.244 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/0.91, allocations: 0.6919 MB / 1.245 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/0.9111, allocations: 0.6438 MB / 1.245 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.9111, allocations: 43.22 kB / 1.245 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.006e-06/0.9111, allocations: 0 / 1.245 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.004652/0.9158, allocations: 1.914 MB / 1.247 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.9158, allocations: 64.06 kB / 1.247 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.9169, allocations: 0.8115 MB / 1.248 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-05/0.917, allocations: 45.64 kB / 1.248 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/0.9173, allocations: 444.5 kB / 1.248 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.9175, allocations: 260.1 kB / 1.249 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.9176, allocations: 16 kB / 1.249 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.9177, allocations: 330 kB / 1.249 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.9191, allocations: 0.5563 MB / 1.25 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.9205, allocations: 0.6902 MB / 1.25 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.9219, allocations: 0.61 MB / 1.251 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.9219, allocations: 0 / 1.251 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003131/0.925, allocations: 1.4 MB / 1.252 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.9251, allocations: 163.8 kB / 1.252 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.9251, allocations: 0 / 1.252 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.9252, allocations: 4 kB / 1.252 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.9267, allocations: 271.6 kB / 1.253 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006671/0.9273, allocations: 1.199 MB / 1.254 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.9285, allocations: 201.5 kB / 1.254 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.321e-05/0.9286, allocations: 27.98 kB / 1.254 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.523e-06/0.9286, allocations: 4 kB / 1.254 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002932/0.9315, allocations: 1.301 MB / 1.255 GB, free: 232 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.9316, allocations: 4 kB / 1.255 GB, free: 228 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/0.9316, allocations: 4 kB / 1.255 GB, free: 224 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.505/1.437, allocations: 243.9 kB / 1.256 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.511e-05/1.437, allocations: 6.141 kB / 1.256 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/1.438, allocations: 187.5 kB / 1.256 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/1.438, allocations: 33.53 kB / 1.256 GB, free: 231.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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.0006557/1.439, allocations: 378.1 kB / 1.256 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/1.439, allocations: 107.5 kB / 1.256 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004073/1.443, allocations: 1.435 MB / 1.258 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/1.443, allocations: 7.438 kB / 1.258 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.443, allocations: 0 / 1.258 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/1.443, allocations: 4.609 kB / 1.258 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007429/1.451, allocations: 2.914 MB / 1.26 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/1.451, allocations: 6.703 kB / 1.26 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/1.452, allocations: 256.5 kB / 1.261 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.985e-05/1.452, allocations: 7.594 kB / 1.261 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-05/1.452, allocations: 31.28 kB / 1.261 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000498/1.453, allocations: 1.198 MB / 1.262 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.453, allocations: 4.406 kB / 1.262 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003969/1.457, allocations: 1.538 MB / 1.263 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007716/1.458, allocations: 314.9 kB / 1.264 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/1.458, allocations: 21.09 kB / 1.264 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/1.459, allocations: 157.2 kB / 1.264 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/1.459, allocations: 62.83 kB / 1.264 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.44e-05/1.459, allocations: 38.64 kB / 1.264 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009809/1.46, allocations: 0.5625 MB / 1.265 GB, free: 228 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.46, allocations: 0 / 1.265 GB, free: 228 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001738/1.462, allocations: 0.5382 MB / 1.265 GB, free: 227.9 MB / 0.9981 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 () * 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.0005991/1.463, allocations: 264.2 kB / 1.265 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006256/1.469, allocations: 2.127 MB / 1.267 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.469, allocations: 1.219 kB / 1.267 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/1.471, allocations: 0.706 MB / 1.268 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/1.474, allocations: 0.5328 MB / 1.269 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00462/1.478, allocations: 2.463 MB / 1.271 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006903/1.479, allocations: 1.092 MB / 1.272 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001879/1.481, allocations: 396.7 kB / 1.272 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/1.481, allocations: 87.66 kB / 1.273 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.323e-06/1.481, allocations: 0 / 1.273 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03132/1.513, allocations: 19.65 MB / 1.292 GB, free: 214.2 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches