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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001586/0.001587, allocations: 112.2 kB / 16.42 MB, free: 6.5 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.001761/0.001761, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.3/1.3, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.698/2.698, allocations: 461.7 MB / 0.7352 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 75.83 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7097/0.7111, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.2165/0.9277, allocations: 214.2 MB / 1.417 GB, free: 6.648 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01068/0.9384, allocations: 7.045 MB / 1.424 GB, free: 15.59 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.9399, allocations: 39.75 kB / 1.424 GB, free: 15.55 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002204/0.9421, allocations: 0.792 MB / 1.425 GB, free: 14.75 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006705/0.9489, allocations: 2.523 MB / 1.428 GB, free: 12.22 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003827/0.9528, allocations: 1.171 MB / 1.429 GB, free: 11.06 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004446/0.9572, allocations: 2.821 MB / 1.431 GB, free: 8.23 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002106/0.9594, allocations: 1.091 MB / 1.433 GB, free: 7.117 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004481/0.9639, allocations: 1.989 MB / 1.434 GB, free: 5.121 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/0.966, allocations: 0.9368 MB / 1.435 GB, free: 4.188 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003379/0.9664, allocations: 116 kB / 1.436 GB, free: 4.074 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004643/0.971, allocations: 2.452 MB / 1.438 GB, free: 1.617 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.00059/0.9716, allocations: 422.7 kB / 1.438 GB, free: 1.203 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.9728, allocations: 0.6998 MB / 1.439 GB, free: 0.5 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004231/0.9771, allocations: 2.481 MB / 1.441 GB, free: 14.01 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.9771, allocations: 0 / 1.441 GB, free: 14.01 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9771, allocations: 3.938 kB / 1.441 GB, free: 14.01 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.135e-05/0.9772, allocations: 0 / 1.441 GB, free: 14.01 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.005106/0.9823, allocations: 1.844 MB / 1.443 GB, free: 12.11 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.9823, allocations: 8.031 kB / 1.443 GB, free: 12.1 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/0.9855, allocations: 0.5408 MB / 1.444 GB, free: 11.55 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.9876, allocations: 0.9992 MB / 1.445 GB, free: 10.51 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.304e-05/0.9876, allocations: 69.98 kB / 1.445 GB, free: 10.44 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.9878, allocations: 87.94 kB / 1.445 GB, free: 10.36 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/0.9907, allocations: 1.217 MB / 1.446 GB, free: 9.133 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.9907, allocations: 3.938 kB / 1.446 GB, free: 9.129 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.9908, allocations: 32 kB / 1.446 GB, free: 9.098 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-05/0.9909, allocations: 45.98 kB / 1.446 GB, free: 9.055 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/0.9945, allocations: 1.534 MB / 1.448 GB, free: 7.516 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.006318/1.001, allocations: 4.025 MB / 1.452 GB, free: 3.215 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002371/1.003, allocations: 0.9679 MB / 1.453 GB, free: 2.238 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/1.005, allocations: 0.659 MB / 1.453 GB, free: 1.574 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009961/1.006, allocations: 0.6048 MB / 1.454 GB, free: 0.8594 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/1.006, allocations: 51.2 kB / 1.454 GB, free: 0.7969 MB / 1.17 GB Notification: Performance of pre-optimization done (n=76): time 2.725e-06/1.006, allocations: 0 / 1.454 GB, free: 0.7969 MB / 1.17 GB Notification: Performance of matching and sorting (n=76): time 0.004716/1.01, allocations: 1.781 MB / 1.456 GB, free: 15.01 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/1.01, allocations: 64.06 kB / 1.456 GB, free: 14.94 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/1.012, allocations: 0.8232 MB / 1.456 GB, free: 14.09 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-05/1.012, allocations: 37.7 kB / 1.456 GB, free: 14.05 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/1.012, allocations: 448.5 kB / 1.457 GB, free: 13.6 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/1.012, allocations: 260.1 kB / 1.457 GB, free: 13.34 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/1.012, allocations: 150.5 kB / 1.457 GB, free: 13.19 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001117/1.013, allocations: 334 kB / 1.458 GB, free: 12.86 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/1.014, allocations: 0.5277 MB / 1.458 GB, free: 12.32 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/1.015, allocations: 0.6472 MB / 1.459 GB, free: 11.64 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/1.018, allocations: 1.115 MB / 1.46 GB, free: 10.51 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/1.018, allocations: 4 kB / 1.46 GB, free: 10.5 MB / 1.186 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003194/1.021, allocations: 1.325 MB / 1.461 GB, free: 9.164 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.059e-05/1.021, allocations: 41.69 kB / 1.461 GB, free: 9.117 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.021, allocations: 0 / 1.461 GB, free: 9.117 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/1.021, allocations: 4 kB / 1.461 GB, free: 9.113 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/1.023, allocations: 251.6 kB / 1.461 GB, free: 8.867 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007221/1.024, allocations: 1.191 MB / 1.463 GB, free: 7.629 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/1.025, allocations: 143.4 kB / 1.463 GB, free: 7.488 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/1.025, allocations: 43.95 kB / 1.463 GB, free: 7.445 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0017/1.027, allocations: 0.7517 MB / 1.463 GB, free: 6.691 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001423/1.028, allocations: 0.6433 MB / 1.464 GB, free: 6.02 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002606/1.031, allocations: 1.103 MB / 1.465 GB, free: 4.898 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.919e-06/1.031, allocations: 4 kB / 1.465 GB, free: 4.895 MB / 1.186 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003166/1.034, allocations: 1.314 MB / 1.466 GB, free: 3.566 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/1.034, allocations: 37.7 kB / 1.467 GB, free: 3.523 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.034, allocations: 4 kB / 1.467 GB, free: 3.52 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/1.034, allocations: 11.92 kB / 1.467 GB, free: 3.508 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.035, allocations: 215.7 kB / 1.467 GB, free: 3.297 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/1.035, allocations: 4 kB / 1.467 GB, free: 3.293 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/1.036, allocations: 127.5 kB / 1.467 GB, free: 3.168 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-05/1.036, allocations: 35.97 kB / 1.467 GB, free: 3.133 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.0002578/1.036, allocations: 224.1 kB / 1.467 GB, free: 2.906 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/1.037, allocations: 106.6 kB / 1.467 GB, free: 2.801 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/1.04, allocations: 1.355 MB / 1.469 GB, free: 1.434 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/1.04, allocations: 3.984 kB / 1.469 GB, free: 1.43 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.04, allocations: 0 / 1.469 GB, free: 1.43 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004839/1.04, allocations: 299.5 kB / 1.469 GB, free: 1.117 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/1.041, allocations: 16 kB / 1.469 GB, free: 1.102 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/1.042, allocations: 103.9 kB / 1.469 GB, free: 1 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/1.042, allocations: 48.59 kB / 1.469 GB, free: 0.9531 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003752/1.046, allocations: 1.357 MB / 1.47 GB, free: 15.58 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004709/1.05, allocations: 2.102 MB / 1.472 GB, free: 13.46 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001389/1.052, allocations: 0.5634 MB / 1.473 GB, free: 12.9 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008407/1.053, allocations: 0.57 MB / 1.473 GB, free: 12.32 MB / 1.201 GB Notification: Performance of Backend: time 6.71e-07/1.053, allocations: 0 / 1.473 GB, free: 12.32 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.005729/1.058, allocations: 2.025 MB / 1.475 GB, free: 10.28 MB / 1.201 GB Notification: Performance of SimCode: time 0.003654/1.062, allocations: 2.265 MB / 1.478 GB, free: 7.961 MB / 1.201 GB Notification: Performance of Templates: time 0.04397/1.106, allocations: 29.97 MB / 1.507 GB, free: 10.26 MB / 1.232 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