Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001497/0.001498, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.00172/0.00172, allocations: 183.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.394/1.394, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.319/2.319, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.89 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7959/0.7972, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.239/1.036, allocations: 214.2 MB / 1.298 GB, free: 7.375 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01061/1.047, allocations: 7.042 MB / 1.305 GB, free: 324 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/1.048, allocations: 47.69 kB / 1.305 GB, free: 276 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001863/1.05, allocations: 0.8078 MB / 1.306 GB, free: 15.45 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005664/1.056, allocations: 2.626 MB / 1.308 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002899/1.059, allocations: 1.182 MB / 1.309 GB, free: 11.64 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003458/1.062, allocations: 2.821 MB / 1.312 GB, free: 8.816 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001671/1.064, allocations: 1.091 MB / 1.313 GB, free: 7.707 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004048/1.068, allocations: 2.059 MB / 1.315 GB, free: 5.641 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/1.07, allocations: 0.9304 MB / 1.316 GB, free: 4.715 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002862/1.07, allocations: 116 kB / 1.316 GB, free: 4.602 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004324/1.075, allocations: 2.463 MB / 1.319 GB, free: 2.133 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004831/1.075, allocations: 430.7 kB / 1.319 GB, free: 1.711 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009445/1.076, allocations: 0.6881 MB / 1.32 GB, free: 1.02 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003774/1.08, allocations: 2.485 MB / 1.322 GB, free: 14.53 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.08, allocations: 0 / 1.322 GB, free: 14.53 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/1.08, allocations: 0 / 1.322 GB, free: 14.53 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.186e-05/1.08, allocations: 0 / 1.322 GB, free: 14.53 MB / 1.061 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.004812/1.085, allocations: 1.844 MB / 1.324 GB, free: 12.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/1.085, allocations: 8.031 kB / 1.324 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003337/1.088, allocations: 0.5408 MB / 1.324 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/1.09, allocations: 1.007 MB / 1.325 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.323e-05/1.09, allocations: 66 kB / 1.325 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/1.09, allocations: 83.98 kB / 1.325 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002802/1.093, allocations: 1.229 MB / 1.327 GB, free: 9.637 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/1.093, allocations: 0 / 1.327 GB, free: 9.637 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/1.093, allocations: 31.98 kB / 1.327 GB, free: 9.605 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.137e-05/1.093, allocations: 45.98 kB / 1.327 GB, free: 9.562 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003858/1.097, allocations: 1.53 MB / 1.328 GB, free: 8.031 MB / 1.061 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.006759/1.104, allocations: 4.044 MB / 1.332 GB, free: 3.711 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/1.107, allocations: 0.9712 MB / 1.333 GB, free: 2.734 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/1.108, allocations: 0.6552 MB / 1.334 GB, free: 2.074 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/1.109, allocations: 0.6048 MB / 1.334 GB, free: 1.359 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/1.109, allocations: 47.2 kB / 1.334 GB, free: 1.305 MB / 1.061 GB Notification: Performance of pre-optimization done (n=76): time 2.815e-06/1.109, allocations: 0 / 1.334 GB, free: 1.305 MB / 1.061 GB Notification: Performance of matching and sorting (n=76): time 0.004942/1.114, allocations: 1.781 MB / 1.336 GB, free: 15.52 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/1.114, allocations: 56.06 kB / 1.336 GB, free: 15.45 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009743/1.115, allocations: 0.8271 MB / 1.337 GB, free: 14.6 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.676e-05/1.115, allocations: 49.64 kB / 1.337 GB, free: 14.54 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/1.116, allocations: 440.5 kB / 1.338 GB, free: 14.11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.00021/1.116, allocations: 260.1 kB / 1.338 GB, free: 13.85 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/1.116, allocations: 150.5 kB / 1.338 GB, free: 13.7 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.116, allocations: 337.9 kB / 1.338 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/1.118, allocations: 0.5278 MB / 1.339 GB, free: 12.83 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/1.119, allocations: 0.6395 MB / 1.339 GB, free: 12.16 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00288/1.122, allocations: 1.119 MB / 1.34 GB, free: 11.02 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/1.122, allocations: 0 / 1.34 GB, free: 11.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003387/1.126, allocations: 1.322 MB / 1.342 GB, free: 9.68 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.76e-05/1.126, allocations: 37.69 kB / 1.342 GB, free: 9.637 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/1.126, allocations: 8 kB / 1.342 GB, free: 9.629 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/1.126, allocations: 4 kB / 1.342 GB, free: 9.625 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/1.127, allocations: 251.6 kB / 1.342 GB, free: 9.379 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006818/1.128, allocations: 1.191 MB / 1.343 GB, free: 8.141 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/1.129, allocations: 143.4 kB / 1.343 GB, free: 8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.114e-05/1.129, allocations: 39.97 kB / 1.343 GB, free: 7.961 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001729/1.131, allocations: 0.7555 MB / 1.344 GB, free: 7.203 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001509/1.133, allocations: 0.6394 MB / 1.345 GB, free: 6.535 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002841/1.135, allocations: 1.111 MB / 1.346 GB, free: 5.406 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.923e-06/1.135, allocations: 0 / 1.346 GB, free: 5.406 MB / 1.076 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003311/1.139, allocations: 1.314 MB / 1.347 GB, free: 4.078 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/1.139, allocations: 37.64 kB / 1.347 GB, free: 4.035 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/1.139, allocations: 4.062 kB / 1.347 GB, free: 4.031 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/1.139, allocations: 7.984 kB / 1.347 GB, free: 4.023 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/1.14, allocations: 219.7 kB / 1.347 GB, free: 3.809 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/1.14, allocations: 3.984 kB / 1.347 GB, free: 3.805 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/1.141, allocations: 131.5 kB / 1.347 GB, free: 3.676 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.453e-05/1.141, allocations: 39.91 kB / 1.348 GB, free: 3.637 MB / 1.076 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.0002638/1.142, allocations: 224.1 kB / 1.348 GB, free: 3.41 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/1.142, allocations: 110.6 kB / 1.348 GB, free: 3.301 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003503/1.145, allocations: 1.344 MB / 1.349 GB, free: 1.945 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/1.145, allocations: 3.984 kB / 1.349 GB, free: 1.941 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.145, allocations: 4 kB / 1.349 GB, free: 1.938 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005208/1.146, allocations: 307.5 kB / 1.349 GB, free: 1.617 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/1.146, allocations: 12 kB / 1.349 GB, free: 1.605 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/1.147, allocations: 99.88 kB / 1.35 GB, free: 1.508 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/1.147, allocations: 44.59 kB / 1.35 GB, free: 1.465 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004084/1.151, allocations: 1.365 MB / 1.351 GB, free: 88 kB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005166/1.157, allocations: 2.098 MB / 1.353 GB, free: 13.97 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001531/1.158, allocations: 0.5595 MB / 1.354 GB, free: 13.41 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008528/1.159, allocations: 0.57 MB / 1.354 GB, free: 12.83 MB / 1.092 GB Notification: Performance of Backend: time 7.61e-07/1.159, allocations: 0 / 1.354 GB, free: 12.83 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006214/1.165, allocations: 2.03 MB / 1.356 GB, free: 10.79 MB / 1.092 GB Notification: Performance of SimCode: time 0.004025/1.169, allocations: 2.269 MB / 1.358 GB, free: 8.461 MB / 1.092 GB Notification: Performance of Templates: time 0.04784/1.217, allocations: 30.15 MB / 1.388 GB, free: 10.56 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches