Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001517/0.001517, allocations: 100.4 kB / 16.41 MB, free: 5.977 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.001553/0.001553, allocations: 192.8 kB / 17.34 MB, free: 5.586 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.751/2.751, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 59.91 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9125/0.914, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.2527/1.167, allocations: 214.2 MB / 1.418 GB, free: 6.59 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01259/1.179, allocations: 7.042 MB / 1.425 GB, free: 15.53 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/1.182, allocations: 43.69 kB / 1.425 GB, free: 15.49 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002721/1.184, allocations: 0.7843 MB / 1.425 GB, free: 14.7 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007873/1.192, allocations: 2.524 MB / 1.428 GB, free: 12.16 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003577/1.196, allocations: 1.172 MB / 1.429 GB, free: 11 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004734/1.201, allocations: 2.825 MB / 1.432 GB, free: 8.172 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002258/1.203, allocations: 1.091 MB / 1.433 GB, free: 7.062 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005804/1.209, allocations: 2.008 MB / 1.435 GB, free: 5.047 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002587/1.211, allocations: 0.9414 MB / 1.436 GB, free: 4.109 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004415/1.212, allocations: 123.9 kB / 1.436 GB, free: 3.988 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00521/1.217, allocations: 2.448 MB / 1.438 GB, free: 1.535 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007557/1.218, allocations: 422.7 kB / 1.439 GB, free: 1.121 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001605/1.219, allocations: 0.6998 MB / 1.439 GB, free: 428 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00567/1.225, allocations: 2.478 MB / 1.442 GB, free: 13.93 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/1.225, allocations: 4 kB / 1.442 GB, free: 13.93 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.054e-06/1.225, allocations: 0 / 1.442 GB, free: 13.93 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.113e-05/1.225, allocations: 0 / 1.442 GB, free: 13.93 MB / 1.17 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.006026/1.231, allocations: 1.84 MB / 1.443 GB, free: 12.03 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.231, allocations: 12.03 kB / 1.443 GB, free: 12.02 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003388/1.235, allocations: 0.5369 MB / 1.444 GB, free: 11.48 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/1.237, allocations: 1.015 MB / 1.445 GB, free: 10.42 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.832e-05/1.237, allocations: 66 kB / 1.445 GB, free: 10.36 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002502/1.238, allocations: 87.98 kB / 1.445 GB, free: 10.27 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003141/1.241, allocations: 1.214 MB / 1.446 GB, free: 9.051 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/1.241, allocations: 0 / 1.446 GB, free: 9.051 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/1.241, allocations: 39.92 kB / 1.446 GB, free: 9.012 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.358e-05/1.241, allocations: 45.98 kB / 1.446 GB, free: 8.969 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003999/1.245, allocations: 1.526 MB / 1.448 GB, free: 7.438 MB / 1.17 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.007474/1.252, allocations: 4.021 MB / 1.452 GB, free: 3.141 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002548/1.255, allocations: 0.974 MB / 1.453 GB, free: 2.156 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/1.257, allocations: 0.6513 MB / 1.453 GB, free: 1.5 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/1.258, allocations: 0.6126 MB / 1.454 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/1.258, allocations: 39.22 kB / 1.454 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of pre-optimization done (n=76): time 3.487e-06/1.258, allocations: 0 / 1.454 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of matching and sorting (n=76): time 0.005162/1.263, allocations: 1.785 MB / 1.456 GB, free: 14.94 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/1.263, allocations: 64.06 kB / 1.456 GB, free: 14.86 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/1.264, allocations: 0.8232 MB / 1.457 GB, free: 14.02 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/1.265, allocations: 41.7 kB / 1.457 GB, free: 13.97 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/1.265, allocations: 440.5 kB / 1.457 GB, free: 13.53 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/1.265, allocations: 272.1 kB / 1.457 GB, free: 13.26 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/1.266, allocations: 150.5 kB / 1.458 GB, free: 13.11 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.266, allocations: 330 kB / 1.458 GB, free: 12.78 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/1.267, allocations: 0.5278 MB / 1.458 GB, free: 12.25 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/1.269, allocations: 0.6511 MB / 1.459 GB, free: 11.56 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/1.272, allocations: 1.111 MB / 1.46 GB, free: 10.43 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/1.272, allocations: 7.938 kB / 1.46 GB, free: 10.42 MB / 1.186 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003538/1.275, allocations: 1.325 MB / 1.461 GB, free: 9.082 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.565e-05/1.275, allocations: 45.62 kB / 1.461 GB, free: 9.031 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.275, allocations: 0 / 1.461 GB, free: 9.031 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/1.275, allocations: 4 kB / 1.461 GB, free: 9.027 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/1.277, allocations: 255.6 kB / 1.462 GB, free: 8.777 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008185/1.278, allocations: 1.188 MB / 1.463 GB, free: 7.543 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/1.279, allocations: 143.4 kB / 1.463 GB, free: 7.402 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.773e-05/1.279, allocations: 35.98 kB / 1.463 GB, free: 7.367 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001854/1.281, allocations: 0.7563 MB / 1.464 GB, free: 6.609 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001509/1.283, allocations: 0.6395 MB / 1.464 GB, free: 5.941 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002829/1.285, allocations: 1.107 MB / 1.465 GB, free: 4.816 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.327e-06/1.285, allocations: 0 / 1.465 GB, free: 4.816 MB / 1.186 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003508/1.289, allocations: 1.318 MB / 1.467 GB, free: 3.484 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/1.289, allocations: 29.7 kB / 1.467 GB, free: 3.449 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.289, allocations: 7.938 kB / 1.467 GB, free: 3.441 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/1.289, allocations: 4 kB / 1.467 GB, free: 3.438 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/1.29, allocations: 223.8 kB / 1.467 GB, free: 3.219 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/1.29, allocations: 4 kB / 1.467 GB, free: 3.215 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/1.292, allocations: 127.5 kB / 1.467 GB, free: 3.09 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.675e-05/1.292, allocations: 35.97 kB / 1.467 GB, free: 3.055 MB / 1.186 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.0003653/1.292, allocations: 232 kB / 1.467 GB, free: 2.82 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/1.292, allocations: 106.6 kB / 1.467 GB, free: 2.715 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003621/1.296, allocations: 1.344 MB / 1.469 GB, free: 1.359 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/1.296, allocations: 11.94 kB / 1.469 GB, free: 1.348 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.296, allocations: 0 / 1.469 GB, free: 1.348 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/1.296, allocations: 3.984 kB / 1.469 GB, free: 1.344 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005949/1.302, allocations: 2.835 MB / 1.472 GB, free: 14.41 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/1.302, allocations: 4 kB / 1.472 GB, free: 14.4 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.303, allocations: 231.7 kB / 1.472 GB, free: 14.18 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.907e-05/1.303, allocations: 11.92 kB / 1.472 GB, free: 14.16 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.455e-05/1.303, allocations: 27.98 kB / 1.472 GB, free: 14.14 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000718/1.304, allocations: 1.184 MB / 1.473 GB, free: 12.91 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/1.304, allocations: 11.88 kB / 1.473 GB, free: 12.89 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003459/1.308, allocations: 1.451 MB / 1.474 GB, free: 11.38 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006424/1.308, allocations: 307.5 kB / 1.475 GB, free: 11.06 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/1.309, allocations: 20 kB / 1.475 GB, free: 11.04 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/1.31, allocations: 99.89 kB / 1.475 GB, free: 10.95 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/1.31, allocations: 64.36 kB / 1.475 GB, free: 10.88 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.134e-05/1.31, allocations: 39.97 kB / 1.475 GB, free: 10.84 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009486/1.311, allocations: 0.57 MB / 1.475 GB, free: 10.26 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.51e-07/1.311, allocations: 0 / 1.475 GB, free: 10.26 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00178/1.313, allocations: 0.5341 MB / 1.476 GB, free: 9.727 MB / 1.201 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.0007578/1.314, allocations: 282.1 kB / 1.476 GB, free: 9.457 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.005578/1.319, allocations: 2.01 MB / 1.478 GB, free: 7.422 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.319, allocations: 0 / 1.478 GB, free: 7.422 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/1.321, allocations: 0.6559 MB / 1.479 GB, free: 6.762 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/1.324, allocations: 0.4945 MB / 1.479 GB, free: 6.27 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/1.329, allocations: 2.135 MB / 1.481 GB, free: 4.055 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008967/1.329, allocations: 1.087 MB / 1.482 GB, free: 2.938 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000503/1.33, allocations: 103.4 kB / 1.483 GB, free: 2.836 MB / 1.201 GB Notification: Performance of SimCode: time 6.71e-07/1.33, allocations: 0 / 1.483 GB, free: 2.836 MB / 1.201 GB Notification: Performance of Templates: time 0.03875/1.369, allocations: 26.83 MB / 1.509 GB, free: 8.113 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches