Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001318/0.001319, allocations: 109.2 kB / 16.42 MB, free: 6.445 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.001381/0.001381, allocations: 186.6 kB / 17.35 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.651/2.651, allocations: 469.4 MB / 0.7428 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.89 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8325/0.8338, allocations: 159.1 MB / 1.221 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.2153/1.049, allocations: 214.2 MB / 1.43 GB, free: 11.32 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01118/1.06, allocations: 7.047 MB / 1.437 GB, free: 4.262 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/1.062, allocations: 43.75 kB / 1.437 GB, free: 4.219 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002097/1.064, allocations: 0.8077 MB / 1.438 GB, free: 3.406 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006249/1.07, allocations: 2.626 MB / 1.44 GB, free: 0.7695 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003021/1.073, allocations: 1.178 MB / 1.442 GB, free: 15.61 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003762/1.077, allocations: 2.829 MB / 1.444 GB, free: 12.77 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/1.079, allocations: 1.102 MB / 1.445 GB, free: 11.64 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004382/1.083, allocations: 2.047 MB / 1.447 GB, free: 9.59 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002161/1.085, allocations: 0.9379 MB / 1.448 GB, free: 8.652 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003675/1.086, allocations: 116 kB / 1.448 GB, free: 8.539 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006819/1.093, allocations: 2.459 MB / 1.451 GB, free: 6.074 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0009215/1.094, allocations: 430.7 kB / 1.451 GB, free: 5.652 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001919/1.096, allocations: 0.6881 MB / 1.452 GB, free: 4.961 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006312/1.102, allocations: 2.482 MB / 1.454 GB, free: 2.473 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/1.102, allocations: 3.938 kB / 1.454 GB, free: 2.469 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.404e-06/1.102, allocations: 4 kB / 1.454 GB, free: 2.465 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.483e-05/1.102, allocations: 0 / 1.454 GB, free: 2.465 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.007764/1.11, allocations: 1.842 MB / 1.456 GB, free: 0.5625 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/1.11, allocations: 12.61 kB / 1.456 GB, free: 0.5508 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005828/1.116, allocations: 0.5292 MB / 1.457 GB, free: 20 kB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003761/1.12, allocations: 1.015 MB / 1.458 GB, free: 14.96 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/1.12, allocations: 65.98 kB / 1.458 GB, free: 14.9 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003068/1.12, allocations: 88 kB / 1.458 GB, free: 14.81 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00542/1.125, allocations: 1.221 MB / 1.459 GB, free: 13.59 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/1.126, allocations: 0 / 1.459 GB, free: 13.59 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/1.126, allocations: 32 kB / 1.459 GB, free: 13.55 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/1.126, allocations: 45.98 kB / 1.459 GB, free: 13.51 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00704/1.133, allocations: 1.534 MB / 1.461 GB, free: 11.97 MB / 1.186 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.01178/1.145, allocations: 4.021 MB / 1.464 GB, free: 7.668 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004839/1.15, allocations: 0.9663 MB / 1.465 GB, free: 6.691 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002903/1.153, allocations: 0.6552 MB / 1.466 GB, free: 6.031 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002031/1.155, allocations: 0.6125 MB / 1.467 GB, free: 5.309 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.27e-05/1.155, allocations: 43.22 kB / 1.467 GB, free: 5.254 MB / 1.186 GB Notification: Performance of pre-optimization done (n=76): time 6.021e-06/1.155, allocations: 0 / 1.467 GB, free: 5.254 MB / 1.186 GB Notification: Performance of matching and sorting (n=76): time 0.01004/1.165, allocations: 1.785 MB / 1.468 GB, free: 3.465 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/1.165, allocations: 64.05 kB / 1.469 GB, free: 3.391 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/1.167, allocations: 0.8231 MB / 1.469 GB, free: 2.543 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002304/1.167, allocations: 45.7 kB / 1.469 GB, free: 2.492 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006608/1.168, allocations: 440.5 kB / 1.47 GB, free: 2.055 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.00045/1.169, allocations: 264.2 kB / 1.47 GB, free: 1.793 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005809/1.169, allocations: 150.5 kB / 1.47 GB, free: 1.637 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001916/1.169, allocations: 333.9 kB / 1.47 GB, free: 1.305 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002794/1.172, allocations: 0.5278 MB / 1.471 GB, free: 0.7734 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002969/1.175, allocations: 0.6356 MB / 1.472 GB, free: 108 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00578/1.181, allocations: 1.123 MB / 1.473 GB, free: 14.96 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/1.181, allocations: 0 / 1.473 GB, free: 14.96 MB / 1.201 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.006599/1.188, allocations: 1.337 MB / 1.474 GB, free: 13.61 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 8.051e-05/1.188, allocations: 41.69 kB / 1.474 GB, free: 13.57 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/1.188, allocations: 0 / 1.474 GB, free: 13.57 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.195e-05/1.188, allocations: 4 kB / 1.474 GB, free: 13.56 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/1.191, allocations: 255.7 kB / 1.474 GB, free: 13.31 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/1.192, allocations: 1.192 MB / 1.475 GB, free: 12.07 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/1.194, allocations: 143.3 kB / 1.476 GB, free: 11.93 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/1.194, allocations: 31.97 kB / 1.476 GB, free: 11.9 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003179/1.198, allocations: 0.7517 MB / 1.476 GB, free: 11.15 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003007/1.201, allocations: 0.6394 MB / 1.477 GB, free: 10.48 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005481/1.206, allocations: 1.111 MB / 1.478 GB, free: 9.352 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.038e-06/1.206, allocations: 0 / 1.478 GB, free: 9.352 MB / 1.201 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.006441/1.213, allocations: 1.318 MB / 1.479 GB, free: 8.02 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.18e-05/1.213, allocations: 43.67 kB / 1.479 GB, free: 7.973 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.213, allocations: 0 / 1.479 GB, free: 7.973 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/1.213, allocations: 11.88 kB / 1.479 GB, free: 7.961 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/1.215, allocations: 227.8 kB / 1.48 GB, free: 7.738 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/1.215, allocations: 4 kB / 1.48 GB, free: 7.734 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/1.217, allocations: 123.5 kB / 1.48 GB, free: 7.613 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/1.217, allocations: 31.97 kB / 1.48 GB, free: 7.582 MB / 1.201 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.0004324/1.217, allocations: 232.1 kB / 1.48 GB, free: 7.348 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004044/1.218, allocations: 106.7 kB / 1.48 GB, free: 7.242 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00587/1.223, allocations: 1.34 MB / 1.481 GB, free: 5.891 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/1.223, allocations: 4 kB / 1.481 GB, free: 5.887 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.223, allocations: 3.984 kB / 1.481 GB, free: 5.883 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/1.224, allocations: 299.6 kB / 1.482 GB, free: 5.57 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003003/1.225, allocations: 16 kB / 1.482 GB, free: 5.555 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/1.227, allocations: 107.8 kB / 1.482 GB, free: 5.449 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/1.227, allocations: 44.59 kB / 1.482 GB, free: 5.406 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007189/1.234, allocations: 1.357 MB / 1.483 GB, free: 4.035 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009005/1.243, allocations: 2.105 MB / 1.485 GB, free: 1.91 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002562/1.246, allocations: 0.5634 MB / 1.486 GB, free: 1.348 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00139/1.247, allocations: 0.57 MB / 1.486 GB, free: 0.7656 MB / 1.201 GB Notification: Performance of Backend: time 8.12e-07/1.247, allocations: 0 / 1.486 GB, free: 0.7656 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.009852/1.257, allocations: 2.02 MB / 1.488 GB, free: 14.73 MB / 1.217 GB Notification: Performance of SimCode: time 0.006511/1.264, allocations: 2.281 MB / 1.491 GB, free: 12.4 MB / 1.217 GB Notification: Performance of Templates: time 0.05212/1.316, allocations: 30.15 MB / 1.52 GB, free: 14.52 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches