Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 109.3 kB / 16.42 MB, free: 6.449 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.00126/0.00126, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.368/1.368, 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.196/2.196, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 71.83 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8204/0.8217, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2446/1.066, allocations: 214.2 MB / 1.298 GB, free: 7.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01271/1.079, allocations: 7.039 MB / 1.305 GB, free: 296 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/1.081, allocations: 43.75 kB / 1.305 GB, free: 252 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002483/1.084, allocations: 0.8155 MB / 1.306 GB, free: 15.43 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007432/1.091, allocations: 2.63 MB / 1.308 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003497/1.095, allocations: 1.172 MB / 1.309 GB, free: 11.62 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004613/1.099, allocations: 2.832 MB / 1.312 GB, free: 8.781 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/1.101, allocations: 1.091 MB / 1.313 GB, free: 7.672 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004518/1.106, allocations: 2.051 MB / 1.315 GB, free: 5.613 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002247/1.108, allocations: 0.9384 MB / 1.316 GB, free: 4.676 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003944/1.108, allocations: 116 kB / 1.316 GB, free: 4.562 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004757/1.113, allocations: 2.467 MB / 1.319 GB, free: 2.09 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006183/1.114, allocations: 426.7 kB / 1.319 GB, free: 1.672 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/1.115, allocations: 0.6804 MB / 1.32 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004576/1.12, allocations: 2.489 MB / 1.322 GB, free: 14.49 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.12, allocations: 0 / 1.322 GB, free: 14.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.463e-06/1.12, allocations: 0 / 1.322 GB, free: 14.49 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.134e-05/1.12, allocations: 0 / 1.322 GB, free: 14.49 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.005315/1.125, allocations: 1.847 MB / 1.324 GB, free: 12.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/1.125, allocations: 8.031 kB / 1.324 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003353/1.128, allocations: 0.5447 MB / 1.324 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/1.131, allocations: 1.003 MB / 1.325 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-05/1.131, allocations: 62 kB / 1.325 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/1.131, allocations: 84 kB / 1.325 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/1.134, allocations: 1.225 MB / 1.327 GB, free: 9.605 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/1.134, allocations: 0 / 1.327 GB, free: 9.605 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/1.134, allocations: 35.98 kB / 1.327 GB, free: 9.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.034e-05/1.134, allocations: 45.98 kB / 1.327 GB, free: 9.527 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003757/1.138, allocations: 1.534 MB / 1.328 GB, free: 7.992 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.007108/1.145, allocations: 4.037 MB / 1.332 GB, free: 3.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/1.148, allocations: 0.9701 MB / 1.333 GB, free: 2.703 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/1.149, allocations: 0.6474 MB / 1.334 GB, free: 2.051 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/1.15, allocations: 0.6087 MB / 1.334 GB, free: 1.332 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/1.15, allocations: 43.22 kB / 1.334 GB, free: 1.281 MB / 1.061 GB Notification: Performance of pre-optimization done (n=76): time 3.076e-06/1.15, allocations: 3.938 kB / 1.334 GB, free: 1.277 MB / 1.061 GB Notification: Performance of matching and sorting (n=76): time 0.004988/1.155, allocations: 1.793 MB / 1.336 GB, free: 15.47 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/1.155, allocations: 64.06 kB / 1.336 GB, free: 15.4 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/1.156, allocations: 0.8193 MB / 1.337 GB, free: 14.55 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/1.157, allocations: 45.7 kB / 1.337 GB, free: 14.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/1.157, allocations: 436.5 kB / 1.337 GB, free: 14.07 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/1.157, allocations: 272 kB / 1.338 GB, free: 13.8 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000296/1.157, allocations: 150.5 kB / 1.338 GB, free: 13.65 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.158, allocations: 329.9 kB / 1.338 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/1.159, allocations: 0.5317 MB / 1.339 GB, free: 12.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/1.161, allocations: 0.6433 MB / 1.339 GB, free: 12.11 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002828/1.163, allocations: 1.111 MB / 1.34 GB, free: 10.98 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/1.163, allocations: 0 / 1.34 GB, free: 10.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003505/1.167, allocations: 1.325 MB / 1.342 GB, free: 9.641 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/1.167, allocations: 41.77 kB / 1.342 GB, free: 9.594 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/1.167, allocations: 3.984 kB / 1.342 GB, free: 9.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/1.167, allocations: 4 kB / 1.342 GB, free: 9.586 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/1.169, allocations: 247.7 kB / 1.342 GB, free: 9.344 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007529/1.169, allocations: 1.191 MB / 1.343 GB, free: 8.105 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/1.171, allocations: 147.3 kB / 1.343 GB, free: 7.961 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.445e-05/1.171, allocations: 27.98 kB / 1.343 GB, free: 7.934 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001791/1.172, allocations: 0.7556 MB / 1.344 GB, free: 7.176 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001486/1.174, allocations: 0.6434 MB / 1.345 GB, free: 6.504 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002805/1.177, allocations: 1.107 MB / 1.346 GB, free: 5.379 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.298e-06/1.177, allocations: 3.984 kB / 1.346 GB, free: 5.375 MB / 1.076 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003334/1.18, allocations: 1.318 MB / 1.347 GB, free: 4.043 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/1.18, allocations: 41.7 kB / 1.347 GB, free: 3.996 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.18, allocations: 0 / 1.347 GB, free: 3.996 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/1.18, allocations: 4 kB / 1.347 GB, free: 3.992 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/1.181, allocations: 227.7 kB / 1.347 GB, free: 3.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/1.181, allocations: 4 kB / 1.347 GB, free: 3.766 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/1.183, allocations: 131.5 kB / 1.347 GB, free: 3.637 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.998e-05/1.183, allocations: 27.98 kB / 1.347 GB, free: 3.609 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.0002806/1.183, allocations: 232 kB / 1.348 GB, free: 3.375 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/1.183, allocations: 110.6 kB / 1.348 GB, free: 3.266 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003445/1.187, allocations: 1.336 MB / 1.349 GB, free: 1.918 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/1.187, allocations: 11.92 kB / 1.349 GB, free: 1.906 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.187, allocations: 4 kB / 1.349 GB, free: 1.902 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005525/1.187, allocations: 303.5 kB / 1.349 GB, free: 1.586 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/1.187, allocations: 12 kB / 1.349 GB, free: 1.574 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/1.188, allocations: 103.9 kB / 1.35 GB, free: 1.473 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/1.189, allocations: 48.59 kB / 1.35 GB, free: 1.426 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003833/1.192, allocations: 1.354 MB / 1.351 GB, free: 60 kB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004718/1.197, allocations: 2.102 MB / 1.353 GB, free: 13.94 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001406/1.199, allocations: 0.5556 MB / 1.353 GB, free: 13.38 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007694/1.199, allocations: 0.5739 MB / 1.354 GB, free: 12.8 MB / 1.092 GB Notification: Performance of Backend: time 6.91e-07/1.199, allocations: 0 / 1.354 GB, free: 12.8 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005613/1.205, allocations: 2.027 MB / 1.356 GB, free: 10.75 MB / 1.092 GB Notification: Performance of SimCode: time 0.003435/1.208, allocations: 2.264 MB / 1.358 GB, free: 8.434 MB / 1.092 GB Notification: Performance of Templates: time 0.04518/1.254, allocations: 30.09 MB / 1.388 GB, free: 10.56 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches