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.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.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.001131/0.001132, allocations: 114.3 kB / 16.42 MB, free: 6.504 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.001367/0.001367, allocations: 185.5 kB / 17.34 MB, free: 5.758 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.2 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.468/2.468, allocations: 437 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8602/0.8616, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.2184/1.08, allocations: 214.2 MB / 1.377 GB, free: 12.83 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01202/1.092, allocations: 7.043 MB / 1.383 GB, free: 5.77 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/1.094, allocations: 43.69 kB / 1.383 GB, free: 5.727 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002239/1.096, allocations: 0.8116 MB / 1.384 GB, free: 4.91 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007082/1.103, allocations: 2.627 MB / 1.387 GB, free: 2.273 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003027/1.106, allocations: 1.174 MB / 1.388 GB, free: 1.109 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003847/1.11, allocations: 2.844 MB / 1.391 GB, free: 14.26 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/1.112, allocations: 1.094 MB / 1.392 GB, free: 13.14 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004207/1.116, allocations: 2.044 MB / 1.394 GB, free: 11.09 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/1.118, allocations: 0.9364 MB / 1.395 GB, free: 10.16 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003475/1.119, allocations: 120 kB / 1.395 GB, free: 10.04 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004701/1.123, allocations: 2.452 MB / 1.397 GB, free: 7.582 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006121/1.124, allocations: 426.7 kB / 1.398 GB, free: 7.164 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001166/1.125, allocations: 0.692 MB / 1.398 GB, free: 6.469 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004581/1.13, allocations: 2.5 MB / 1.401 GB, free: 3.961 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.13, allocations: 0 / 1.401 GB, free: 3.961 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.543e-06/1.13, allocations: 4 kB / 1.401 GB, free: 3.957 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.456e-05/1.13, allocations: 0 / 1.401 GB, free: 3.957 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.004998/1.135, allocations: 1.884 MB / 1.403 GB, free: 2.008 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/1.135, allocations: 12.92 kB / 1.403 GB, free: 1.996 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003265/1.138, allocations: 0.5377 MB / 1.403 GB, free: 1.457 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/1.14, allocations: 1.02 MB / 1.404 GB, free: 404 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.62e-05/1.14, allocations: 65.98 kB / 1.404 GB, free: 340 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/1.141, allocations: 84 kB / 1.404 GB, free: 256 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002845/1.143, allocations: 1.221 MB / 1.405 GB, free: 15.02 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/1.143, allocations: 3.984 kB / 1.405 GB, free: 15.02 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/1.144, allocations: 32 kB / 1.405 GB, free: 14.99 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.865e-05/1.144, allocations: 45.98 kB / 1.406 GB, free: 14.94 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003703/1.147, allocations: 1.53 MB / 1.407 GB, free: 13.41 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.006687/1.154, allocations: 4.038 MB / 1.411 GB, free: 9.094 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/1.157, allocations: 0.9716 MB / 1.412 GB, free: 8.117 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/1.158, allocations: 0.6552 MB / 1.413 GB, free: 7.457 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/1.159, allocations: 0.6125 MB / 1.413 GB, free: 6.734 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/1.159, allocations: 43.22 kB / 1.413 GB, free: 6.684 MB / 1.139 GB Notification: Performance of pre-optimization done (n=76): time 2.605e-06/1.159, allocations: 0 / 1.413 GB, free: 6.684 MB / 1.139 GB Notification: Performance of matching and sorting (n=76): time 0.004992/1.164, allocations: 1.785 MB / 1.415 GB, free: 4.891 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/1.164, allocations: 64 kB / 1.415 GB, free: 4.816 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/1.166, allocations: 0.8232 MB / 1.416 GB, free: 3.969 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/1.166, allocations: 41.7 kB / 1.416 GB, free: 3.922 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000392/1.166, allocations: 449.1 kB / 1.416 GB, free: 3.477 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/1.166, allocations: 277.6 kB / 1.417 GB, free: 3.203 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003044/1.167, allocations: 154.5 kB / 1.417 GB, free: 3.047 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.167, allocations: 334 kB / 1.417 GB, free: 2.715 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/1.168, allocations: 0.52 MB / 1.418 GB, free: 2.191 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/1.17, allocations: 0.6473 MB / 1.418 GB, free: 1.516 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002795/1.172, allocations: 1.115 MB / 1.419 GB, free: 392 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/1.173, allocations: 4 kB / 1.419 GB, free: 388 kB / 1.139 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00339/1.176, allocations: 1.326 MB / 1.421 GB, free: 15.04 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.224e-05/1.176, allocations: 44.5 kB / 1.421 GB, free: 14.99 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/1.176, allocations: 0 / 1.421 GB, free: 14.99 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/1.176, allocations: 7.938 kB / 1.421 GB, free: 14.98 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/1.178, allocations: 255.7 kB / 1.421 GB, free: 14.73 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007679/1.178, allocations: 1.192 MB / 1.422 GB, free: 13.5 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/1.18, allocations: 151.5 kB / 1.422 GB, free: 13.35 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/1.18, allocations: 39.95 kB / 1.422 GB, free: 13.31 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001768/1.181, allocations: 0.7478 MB / 1.423 GB, free: 12.55 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001493/1.183, allocations: 0.6433 MB / 1.424 GB, free: 11.88 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002732/1.186, allocations: 1.111 MB / 1.425 GB, free: 10.75 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.757e-06/1.186, allocations: 0 / 1.425 GB, free: 10.75 MB / 1.154 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003362/1.189, allocations: 1.322 MB / 1.426 GB, free: 9.414 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/1.189, allocations: 29.7 kB / 1.426 GB, free: 9.379 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.189, allocations: 4 kB / 1.426 GB, free: 9.375 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/1.189, allocations: 7.938 kB / 1.426 GB, free: 9.367 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/1.19, allocations: 227.8 kB / 1.426 GB, free: 9.145 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/1.19, allocations: 7.938 kB / 1.426 GB, free: 9.137 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/1.191, allocations: 131.2 kB / 1.426 GB, free: 9.012 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.276e-05/1.192, allocations: 39.91 kB / 1.426 GB, free: 8.973 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.000306/1.192, allocations: 224.1 kB / 1.427 GB, free: 8.746 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/1.192, allocations: 111.2 kB / 1.427 GB, free: 8.637 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00344/1.196, allocations: 1.344 MB / 1.428 GB, free: 7.285 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/1.196, allocations: 3.984 kB / 1.428 GB, free: 7.281 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/1.196, allocations: 0 / 1.428 GB, free: 7.281 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005877/1.196, allocations: 312 kB / 1.428 GB, free: 6.957 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/1.196, allocations: 16 kB / 1.428 GB, free: 6.941 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/1.198, allocations: 103.9 kB / 1.428 GB, free: 6.84 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/1.198, allocations: 48.59 kB / 1.428 GB, free: 6.793 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003926/1.202, allocations: 1.354 MB / 1.43 GB, free: 5.426 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004735/1.206, allocations: 2.102 MB / 1.432 GB, free: 3.309 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001439/1.208, allocations: 0.5634 MB / 1.432 GB, free: 2.742 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008638/1.209, allocations: 0.5739 MB / 1.433 GB, free: 2.156 MB / 1.154 GB Notification: Performance of Backend: time 2.524e-06/1.209, allocations: 0 / 1.433 GB, free: 2.156 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006107/1.215, allocations: 2.034 MB / 1.435 GB, free: 116 kB / 1.154 GB Notification: Performance of SimCode: time 0.00414/1.219, allocations: 2.302 MB / 1.437 GB, free: 13.75 MB / 1.17 GB Notification: Performance of Templates: time 0.04989/1.269, allocations: 30.15 MB / 1.467 GB, free: 15.84 MB / 1.201 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