Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001251/0.001251, allocations: 112.1 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.001283/0.001283, 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.378/1.378, allocations: 222.9 MB / 241 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.237/2.237, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 71.84 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7804/0.782, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.245/1.027, allocations: 214.2 MB / 1.298 GB, free: 7.355 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01093/1.038, allocations: 7.041 MB / 1.305 GB, free: 304 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002165/1.04, allocations: 43.75 kB / 1.305 GB, free: 260 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002647/1.043, allocations: 0.8116 MB / 1.306 GB, free: 15.44 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006901/1.05, allocations: 2.618 MB / 1.308 GB, free: 12.81 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002946/1.053, allocations: 1.178 MB / 1.309 GB, free: 11.64 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003696/1.057, allocations: 2.832 MB / 1.312 GB, free: 8.797 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/1.058, allocations: 1.091 MB / 1.313 GB, free: 7.688 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004111/1.062, allocations: 2.047 MB / 1.315 GB, free: 5.633 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/1.064, allocations: 0.9372 MB / 1.316 GB, free: 4.699 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002027/1.064, allocations: 120 kB / 1.316 GB, free: 4.582 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004317/1.069, allocations: 2.459 MB / 1.319 GB, free: 2.117 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004244/1.069, allocations: 438.7 kB / 1.319 GB, free: 1.688 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007752/1.07, allocations: 0.6843 MB / 1.32 GB, free: 1 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003805/1.074, allocations: 2.481 MB / 1.322 GB, free: 14.51 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.074, allocations: 4 kB / 1.322 GB, free: 14.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/1.074, allocations: 0 / 1.322 GB, free: 14.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.624e-05/1.074, allocations: 0 / 1.322 GB, free: 14.51 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.004432/1.078, allocations: 1.844 MB / 1.324 GB, free: 12.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/1.078, allocations: 8.031 kB / 1.324 GB, free: 12.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/1.081, allocations: 0.5408 MB / 1.324 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/1.083, allocations: 0.9992 MB / 1.325 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/1.083, allocations: 65.98 kB / 1.325 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/1.083, allocations: 84 kB / 1.325 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002765/1.086, allocations: 1.221 MB / 1.327 GB, free: 9.633 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/1.086, allocations: 0 / 1.327 GB, free: 9.633 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/1.086, allocations: 32 kB / 1.327 GB, free: 9.602 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.437e-05/1.086, allocations: 45.98 kB / 1.327 GB, free: 9.559 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003852/1.09, allocations: 1.542 MB / 1.328 GB, free: 8.016 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.007051/1.097, allocations: 4.044 MB / 1.332 GB, free: 3.695 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/1.1, allocations: 0.9623 MB / 1.333 GB, free: 2.727 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/1.101, allocations: 0.6513 MB / 1.334 GB, free: 2.07 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001161/1.103, allocations: 0.6125 MB / 1.334 GB, free: 1.348 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/1.103, allocations: 47.22 kB / 1.334 GB, free: 1.293 MB / 1.061 GB Notification: Performance of pre-optimization done (n=76): time 3.016e-06/1.103, allocations: 3.938 kB / 1.334 GB, free: 1.289 MB / 1.061 GB Notification: Performance of matching and sorting (n=76): time 0.005203/1.108, allocations: 1.781 MB / 1.336 GB, free: 15.5 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/1.108, allocations: 60.06 kB / 1.336 GB, free: 15.43 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/1.109, allocations: 0.8271 MB / 1.337 GB, free: 14.58 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/1.109, allocations: 41.7 kB / 1.337 GB, free: 14.53 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/1.11, allocations: 436.5 kB / 1.337 GB, free: 14.1 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/1.11, allocations: 268.1 kB / 1.338 GB, free: 13.83 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/1.11, allocations: 150.5 kB / 1.338 GB, free: 13.68 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.11, allocations: 337.9 kB / 1.338 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/1.112, allocations: 0.5278 MB / 1.339 GB, free: 12.81 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/1.113, allocations: 0.6395 MB / 1.339 GB, free: 12.14 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002892/1.116, allocations: 1.115 MB / 1.34 GB, free: 11 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.116, allocations: 0 / 1.34 GB, free: 11 MB / 1.076 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003576/1.12, allocations: 1.321 MB / 1.342 GB, free: 9.668 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/1.12, allocations: 41.69 kB / 1.342 GB, free: 9.621 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.12, allocations: 4 kB / 1.342 GB, free: 9.617 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/1.12, allocations: 8.062 kB / 1.342 GB, free: 9.609 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/1.121, allocations: 251.6 kB / 1.342 GB, free: 9.363 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006842/1.122, allocations: 1.199 MB / 1.343 GB, free: 8.117 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/1.123, allocations: 143.3 kB / 1.343 GB, free: 7.977 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.652e-05/1.123, allocations: 35.97 kB / 1.343 GB, free: 7.941 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001795/1.125, allocations: 0.7517 MB / 1.344 GB, free: 7.188 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001543/1.127, allocations: 0.6395 MB / 1.345 GB, free: 6.52 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002877/1.13, allocations: 1.107 MB / 1.346 GB, free: 5.395 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.484e-06/1.13, allocations: 0 / 1.346 GB, free: 5.395 MB / 1.076 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003476/1.133, allocations: 1.318 MB / 1.347 GB, free: 4.062 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/1.133, allocations: 37.64 kB / 1.347 GB, free: 4.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.133, allocations: 64 / 1.347 GB, free: 4.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-06/1.133, allocations: 8 kB / 1.347 GB, free: 4.012 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/1.134, allocations: 223.7 kB / 1.347 GB, free: 3.793 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/1.135, allocations: 4 kB / 1.347 GB, free: 3.789 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/1.136, allocations: 123.5 kB / 1.347 GB, free: 3.668 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-05/1.136, allocations: 39.97 kB / 1.348 GB, free: 3.629 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.0002921/1.136, allocations: 228.1 kB / 1.348 GB, free: 3.398 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/1.136, allocations: 110.6 kB / 1.348 GB, free: 3.289 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003583/1.14, allocations: 1.34 MB / 1.349 GB, free: 1.938 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/1.14, allocations: 7.922 kB / 1.349 GB, free: 1.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/1.14, allocations: 3.938 kB / 1.349 GB, free: 1.926 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005422/1.14, allocations: 311.5 kB / 1.349 GB, free: 1.602 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/1.141, allocations: 12 kB / 1.349 GB, free: 1.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/1.142, allocations: 99.88 kB / 1.35 GB, free: 1.492 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/1.142, allocations: 48.59 kB / 1.35 GB, free: 1.445 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003978/1.146, allocations: 1.357 MB / 1.351 GB, free: 76 kB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004888/1.151, allocations: 2.102 MB / 1.353 GB, free: 13.96 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001449/1.152, allocations: 0.5634 MB / 1.354 GB, free: 13.39 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007726/1.153, allocations: 0.57 MB / 1.354 GB, free: 12.81 MB / 1.092 GB Notification: Performance of Backend: time 4.1e-07/1.153, allocations: 0 / 1.354 GB, free: 12.81 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005632/1.159, allocations: 2.02 MB / 1.356 GB, free: 10.78 MB / 1.092 GB Notification: Performance of SimCode: time 0.003519/1.162, allocations: 2.27 MB / 1.358 GB, free: 8.453 MB / 1.092 GB Notification: Performance of Templates: time 0.04648/1.209, allocations: 30.11 MB / 1.388 GB, free: 10.58 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches