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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001439/0.001439, allocations: 110.4 kB / 16.41 MB, free: 6.508 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.001411/0.001411, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.472/2.472, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 64.09 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.065, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.252/1.317, allocations: 214.2 MB / 1.377 GB, free: 12.79 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01249/1.329, allocations: 7.038 MB / 1.383 GB, free: 5.734 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00221/1.331, allocations: 39.75 kB / 1.383 GB, free: 5.695 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002715/1.334, allocations: 0.8155 MB / 1.384 GB, free: 4.875 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008133/1.342, allocations: 2.631 MB / 1.387 GB, free: 2.234 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003414/1.346, allocations: 1.176 MB / 1.388 GB, free: 1.07 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004663/1.35, allocations: 2.833 MB / 1.391 GB, free: 14.23 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002077/1.353, allocations: 1.095 MB / 1.392 GB, free: 13.12 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005208/1.358, allocations: 2.051 MB / 1.394 GB, free: 11.06 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00285/1.361, allocations: 0.9381 MB / 1.395 GB, free: 10.12 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004625/1.361, allocations: 120 kB / 1.395 GB, free: 10 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005492/1.367, allocations: 2.452 MB / 1.397 GB, free: 7.547 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007283/1.367, allocations: 430.6 kB / 1.398 GB, free: 7.125 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0016/1.369, allocations: 0.6881 MB / 1.398 GB, free: 6.434 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005683/1.375, allocations: 2.482 MB / 1.401 GB, free: 3.945 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.375, allocations: 0 / 1.401 GB, free: 3.945 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.813e-06/1.375, allocations: 4 kB / 1.401 GB, free: 3.941 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.557e-05/1.375, allocations: 4 kB / 1.401 GB, free: 3.938 MB / 1.123 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.005865/1.381, allocations: 1.844 MB / 1.403 GB, free: 2.031 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/1.381, allocations: 12.92 kB / 1.403 GB, free: 2.02 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003383/1.384, allocations: 0.533 MB / 1.403 GB, free: 1.484 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002505/1.387, allocations: 1.007 MB / 1.404 GB, free: 444 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/1.387, allocations: 65.98 kB / 1.404 GB, free: 380 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/1.387, allocations: 83.94 kB / 1.404 GB, free: 296 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00294/1.39, allocations: 1.229 MB / 1.405 GB, free: 15.05 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/1.39, allocations: 4 kB / 1.405 GB, free: 15.05 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/1.39, allocations: 28 kB / 1.405 GB, free: 15.02 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.983e-05/1.39, allocations: 45.98 kB / 1.405 GB, free: 14.98 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003697/1.394, allocations: 1.53 MB / 1.407 GB, free: 13.45 MB / 1.139 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.007214/1.401, allocations: 4.025 MB / 1.411 GB, free: 9.141 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002465/1.404, allocations: 0.9761 MB / 1.412 GB, free: 8.16 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/1.405, allocations: 0.6535 MB / 1.412 GB, free: 7.504 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/1.406, allocations: 0.6125 MB / 1.413 GB, free: 6.781 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/1.406, allocations: 39.22 kB / 1.413 GB, free: 6.734 MB / 1.139 GB Notification: Performance of pre-optimization done (n=76): time 4.038e-06/1.406, allocations: 0 / 1.413 GB, free: 6.734 MB / 1.139 GB Notification: Performance of matching and sorting (n=76): time 0.004984/1.411, allocations: 1.789 MB / 1.415 GB, free: 4.938 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/1.411, allocations: 60.06 kB / 1.415 GB, free: 4.867 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/1.413, allocations: 0.8232 MB / 1.416 GB, free: 4.02 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/1.413, allocations: 41.7 kB / 1.416 GB, free: 3.973 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003963/1.413, allocations: 436.5 kB / 1.416 GB, free: 3.539 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/1.414, allocations: 272.1 kB / 1.416 GB, free: 3.27 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003221/1.414, allocations: 150.5 kB / 1.417 GB, free: 3.117 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.414, allocations: 330 kB / 1.417 GB, free: 2.789 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/1.416, allocations: 0.5316 MB / 1.417 GB, free: 2.254 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/1.417, allocations: 0.6395 MB / 1.418 GB, free: 1.586 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002725/1.42, allocations: 1.119 MB / 1.419 GB, free: 460 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/1.42, allocations: 3.938 kB / 1.419 GB, free: 456 kB / 1.139 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003412/1.423, allocations: 1.329 MB / 1.42 GB, free: 15.1 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.842e-05/1.423, allocations: 29.7 kB / 1.42 GB, free: 15.06 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/1.423, allocations: 8 kB / 1.42 GB, free: 15.05 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/1.423, allocations: 4 kB / 1.42 GB, free: 15.05 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/1.425, allocations: 259.6 kB / 1.421 GB, free: 14.8 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000802/1.426, allocations: 1.199 MB / 1.422 GB, free: 13.55 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/1.427, allocations: 143.3 kB / 1.422 GB, free: 13.41 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/1.427, allocations: 31.98 kB / 1.422 GB, free: 13.38 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001791/1.429, allocations: 0.7556 MB / 1.423 GB, free: 12.62 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001469/1.43, allocations: 0.6356 MB / 1.423 GB, free: 11.96 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002724/1.433, allocations: 1.107 MB / 1.424 GB, free: 10.83 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.717e-06/1.433, allocations: 0 / 1.424 GB, free: 10.83 MB / 1.154 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003368/1.436, allocations: 1.314 MB / 1.426 GB, free: 9.5 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.054e-05/1.437, allocations: 41.62 kB / 1.426 GB, free: 9.453 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/1.437, allocations: 7.875 kB / 1.426 GB, free: 9.445 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/1.437, allocations: 4 kB / 1.426 GB, free: 9.441 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/1.438, allocations: 227.8 kB / 1.426 GB, free: 9.219 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/1.438, allocations: 4 kB / 1.426 GB, free: 9.215 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/1.439, allocations: 124.1 kB / 1.426 GB, free: 9.094 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.64e-05/1.439, allocations: 31.98 kB / 1.426 GB, free: 9.062 MB / 1.154 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.0003951/1.44, allocations: 232 kB / 1.426 GB, free: 8.828 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/1.44, allocations: 114.6 kB / 1.427 GB, free: 8.715 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003492/1.443, allocations: 1.332 MB / 1.428 GB, free: 7.375 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/1.443, allocations: 8 kB / 1.428 GB, free: 7.367 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.443, allocations: 0 / 1.428 GB, free: 7.367 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/1.443, allocations: 7.984 kB / 1.428 GB, free: 7.359 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006112/1.45, allocations: 2.85 MB / 1.431 GB, free: 4.406 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/1.45, allocations: 4 kB / 1.431 GB, free: 4.402 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/1.451, allocations: 224.1 kB / 1.431 GB, free: 4.184 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-05/1.451, allocations: 11.94 kB / 1.431 GB, free: 4.172 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.492e-05/1.451, allocations: 31.91 kB / 1.431 GB, free: 4.141 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006545/1.452, allocations: 1.184 MB / 1.432 GB, free: 2.91 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.452, allocations: 7.938 kB / 1.432 GB, free: 2.902 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003343/1.455, allocations: 1.451 MB / 1.433 GB, free: 1.387 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000746/1.456, allocations: 303.6 kB / 1.434 GB, free: 1.07 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/1.456, allocations: 23.98 kB / 1.434 GB, free: 1.047 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/1.457, allocations: 99.89 kB / 1.434 GB, free: 0.9492 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/1.457, allocations: 64.36 kB / 1.434 GB, free: 0.8867 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.692e-05/1.457, allocations: 35.97 kB / 1.434 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009566/1.458, allocations: 0.5739 MB / 1.435 GB, free: 272 kB / 1.154 GB Notification: Performance of sort global known variables: time 1.31e-07/1.458, allocations: 0 / 1.435 GB, free: 272 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.001749/1.46, allocations: 0.5341 MB / 1.435 GB, free: 15.73 MB / 1.17 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.0007298/1.461, allocations: 284.2 kB / 1.435 GB, free: 15.46 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005289/1.466, allocations: 2.006 MB / 1.437 GB, free: 13.43 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/1.466, allocations: 4 kB / 1.437 GB, free: 13.43 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001745/1.468, allocations: 0.6597 MB / 1.438 GB, free: 12.77 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/1.471, allocations: 0.4991 MB / 1.438 GB, free: 12.28 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005052/1.476, allocations: 2.117 MB / 1.44 GB, free: 10.08 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000905/1.477, allocations: 1.094 MB / 1.442 GB, free: 8.957 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005637/1.477, allocations: 99.38 kB / 1.442 GB, free: 8.859 MB / 1.17 GB Notification: Performance of SimCode: time 9.02e-07/1.477, allocations: 0 / 1.442 GB, free: 8.859 MB / 1.17 GB Notification: Performance of Templates: time 0.03608/1.513, allocations: 26.84 MB / 1.468 GB, free: 14.13 MB / 1.201 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches