Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001191/0.001192, allocations: 98.09 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 183.7 kB / 16.92 MB, free: 6.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 223.3 MB / 241 MB, free: 5.332 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.7/2.7, allocations: 437.8 MB / 0.7128 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003731, allocations: 12 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7501/0.7505, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.2371/0.9877, allocations: 209.3 MB / 1.228 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01441/1.002, allocations: 7.06 MB / 1.235 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002264/1.004, allocations: 35.75 kB / 1.235 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002593/1.007, allocations: 0.6528 MB / 1.236 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007976/1.015, allocations: 2.377 MB / 1.238 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003668/1.019, allocations: 1.045 MB / 1.239 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.7535/1.772, allocations: 3.747 MB / 1.243 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002363/1.775, allocations: 0.9009 MB / 1.243 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005715/1.78, allocations: 1.756 MB / 1.245 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003188/1.784, allocations: 0.9129 MB / 1.246 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002352/1.784, allocations: 49.84 kB / 1.246 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006935/1.791, allocations: 2.802 MB / 1.249 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000799/1.792, allocations: 343 kB / 1.249 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001413/1.793, allocations: 0.625 MB / 1.25 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003983/1.797, allocations: 1.792 MB / 1.252 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.797, allocations: 0.5312 kB / 1.252 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.158e-06/1.797, allocations: 0 / 1.252 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.444e-05/1.797, allocations: 4.375 kB / 1.252 GB, free: 4.324 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.006059/1.803, allocations: 1.597 MB / 1.253 GB, free: 19.45 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.477e-05/1.803, allocations: 10.02 kB / 1.253 GB, free: 19.45 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004035/1.807, allocations: 0.5824 MB / 1.254 GB, free: 19.36 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002701/1.81, allocations: 0.9682 MB / 1.255 GB, free: 19.01 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007711/1.811, allocations: 196.5 kB / 1.255 GB, free: 19 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/1.811, allocations: 82.22 kB / 1.255 GB, free: 19 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003523/1.815, allocations: 1.27 MB / 1.256 GB, free: 18.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/1.815, allocations: 1.031 kB / 1.256 GB, free: 18.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/1.815, allocations: 33.72 kB / 1.256 GB, free: 18.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.31e-05/1.815, allocations: 46.36 kB / 1.256 GB, free: 18.92 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004442/1.819, allocations: 1.619 MB / 1.258 GB, free: 18.88 MB / 0.9981 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.008479/1.828, allocations: 4.09 MB / 1.262 GB, free: 17.29 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00276/1.831, allocations: 1.055 MB / 1.263 GB, free: 17.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/1.832, allocations: 0.6936 MB / 1.264 GB, free: 17.21 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/1.834, allocations: 0.6436 MB / 1.264 GB, free: 16.63 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.209e-05/1.834, allocations: 42.72 kB / 1.264 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 4.99e-06/1.834, allocations: 0 / 1.264 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.005496/1.839, allocations: 1.922 MB / 1.266 GB, free: 16.46 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/1.839, allocations: 60.31 kB / 1.266 GB, free: 16.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/1.841, allocations: 0.8223 MB / 1.267 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001614/1.841, allocations: 43.52 kB / 1.267 GB, free: 16.22 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/1.841, allocations: 445.8 kB / 1.267 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/1.841, allocations: 253.4 kB / 1.268 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/1.842, allocations: 61.91 kB / 1.268 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.842, allocations: 331.7 kB / 1.268 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/1.843, allocations: 0.5632 MB / 1.269 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/1.845, allocations: 0.6879 MB / 1.269 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/1.848, allocations: 1.21 MB / 1.27 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/1.848, allocations: 0 / 1.27 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003544/1.851, allocations: 1.421 MB / 1.272 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/1.852, allocations: 147.6 kB / 1.272 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.852, allocations: 1.922 kB / 1.272 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/1.852, allocations: 7.312 kB / 1.272 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/1.853, allocations: 274.7 kB / 1.272 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007294/1.854, allocations: 1.192 MB / 1.273 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/1.856, allocations: 191.3 kB / 1.274 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/1.856, allocations: 41.33 kB / 1.274 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/1.856, allocations: 3.344 kB / 1.274 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003059/1.859, allocations: 1.302 MB / 1.275 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.859, allocations: 0 / 1.275 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/1.859, allocations: 5.406 kB / 1.275 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/1.86, allocations: 250.6 kB / 1.275 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/1.86, allocations: 7.531 kB / 1.275 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/1.861, allocations: 194.3 kB / 1.275 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/1.861, allocations: 39.41 kB / 1.275 GB, free: 13.64 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.i2_w,hex.i1_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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007473/1.862, allocations: 372.8 kB / 1.276 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/1.862, allocations: 108.6 kB / 1.276 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003514/1.866, allocations: 1.433 MB / 1.277 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/1.866, allocations: 8.094 kB / 1.277 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/1.866, allocations: 3.938 kB / 1.277 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/1.866, allocations: 6.688 kB / 1.277 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005491/1.871, allocations: 2.935 MB / 1.28 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/1.872, allocations: 6.5 kB / 1.28 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/1.873, allocations: 246.3 kB / 1.28 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.594e-05/1.873, allocations: 6.219 kB / 1.28 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-05/1.873, allocations: 28.56 kB / 1.28 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006555/1.873, allocations: 1.197 MB / 1.282 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.873, allocations: 5.906 kB / 1.282 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003265/1.877, allocations: 1.544 MB / 1.283 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006591/1.877, allocations: 305.3 kB / 1.283 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/1.878, allocations: 19.25 kB / 1.283 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.879, allocations: 163.9 kB / 1.283 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/1.879, allocations: 66.62 kB / 1.284 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.382e-05/1.879, allocations: 34.77 kB / 1.284 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007571/1.88, allocations: 0.5764 MB / 1.284 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.88, allocations: 0 / 1.284 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001549/1.881, allocations: 0.53 MB / 1.285 GB, free: 10.88 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006912/1.882, allocations: 284.8 kB / 1.285 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005305/1.887, allocations: 2.132 MB / 1.287 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.887, allocations: 5.422 kB / 1.287 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/1.889, allocations: 0.7033 MB / 1.288 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003415/1.893, allocations: 0.5229 MB / 1.288 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/1.897, allocations: 2.623 MB / 1.291 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006168/1.898, allocations: 1.088 MB / 1.292 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005128/1.898, allocations: 105.5 kB / 1.292 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/1.898, allocations: 0 / 1.292 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of Templates: time 0.0405/1.939, allocations: 26.76 MB / 1.318 GB, free: 248 kB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches