Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001626/0.001625, allocations: 114 kB / 16.42 MB, free: 6.02 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.00183/0.00183, allocations: 187.1 kB / 17.35 MB, free: 5.633 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.381/1.381, allocations: 222.9 MB / 241.1 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.675/2.675, allocations: 469.4 MB / 0.7428 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 72.05 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8061/0.8075, allocations: 159.1 MB / 1.221 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.227/1.035, allocations: 214.2 MB / 1.43 GB, free: 11.32 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01067/1.045, allocations: 7.043 MB / 1.437 GB, free: 4.262 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/1.047, allocations: 39.75 kB / 1.437 GB, free: 4.223 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002089/1.049, allocations: 0.8194 MB / 1.438 GB, free: 3.398 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00634/1.056, allocations: 2.636 MB / 1.44 GB, free: 0.7539 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002908/1.058, allocations: 1.17 MB / 1.442 GB, free: 15.59 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003809/1.062, allocations: 2.829 MB / 1.444 GB, free: 12.76 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/1.064, allocations: 1.091 MB / 1.445 GB, free: 11.65 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0042/1.068, allocations: 2.051 MB / 1.447 GB, free: 9.59 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/1.07, allocations: 0.9398 MB / 1.448 GB, free: 8.652 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002113/1.07, allocations: 120 kB / 1.448 GB, free: 8.535 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004467/1.075, allocations: 2.467 MB / 1.451 GB, free: 6.062 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004501/1.075, allocations: 426.6 kB / 1.451 GB, free: 5.645 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008555/1.076, allocations: 0.692 MB / 1.452 GB, free: 4.949 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003957/1.08, allocations: 2.481 MB / 1.454 GB, free: 2.461 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/1.08, allocations: 0 / 1.454 GB, free: 2.461 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.404e-06/1.08, allocations: 0 / 1.454 GB, free: 2.461 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.665e-05/1.08, allocations: 4 kB / 1.454 GB, free: 2.457 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.004393/1.084, allocations: 1.84 MB / 1.456 GB, free: 0.5547 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/1.085, allocations: 12.62 kB / 1.456 GB, free: 0.543 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003129/1.088, allocations: 0.5331 MB / 1.457 GB, free: 8 kB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/1.09, allocations: 1.011 MB / 1.458 GB, free: 14.95 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.98e-05/1.09, allocations: 69.94 kB / 1.458 GB, free: 14.89 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/1.09, allocations: 80 kB / 1.458 GB, free: 14.81 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002659/1.093, allocations: 1.221 MB / 1.459 GB, free: 13.58 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/1.093, allocations: 0 / 1.459 GB, free: 13.58 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/1.093, allocations: 43.98 kB / 1.459 GB, free: 13.54 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.787e-05/1.093, allocations: 41.98 kB / 1.459 GB, free: 13.5 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003628/1.096, allocations: 1.53 MB / 1.461 GB, free: 11.96 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.006715/1.103, allocations: 4.021 MB / 1.464 GB, free: 7.66 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/1.106, allocations: 0.9662 MB / 1.465 GB, free: 6.684 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/1.107, allocations: 0.663 MB / 1.466 GB, free: 6.016 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/1.108, allocations: 0.6048 MB / 1.467 GB, free: 5.301 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/1.108, allocations: 47.16 kB / 1.467 GB, free: 5.242 MB / 1.186 GB Notification: Performance of pre-optimization done (n=76): time 3.567e-06/1.108, allocations: 0 / 1.467 GB, free: 5.242 MB / 1.186 GB Notification: Performance of matching and sorting (n=76): time 0.004938/1.113, allocations: 1.777 MB / 1.468 GB, free: 3.461 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/1.113, allocations: 60.06 kB / 1.468 GB, free: 3.391 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/1.115, allocations: 0.8309 MB / 1.469 GB, free: 2.535 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001307/1.115, allocations: 37.7 kB / 1.469 GB, free: 2.492 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/1.115, allocations: 440.5 kB / 1.47 GB, free: 2.055 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/1.115, allocations: 260.2 kB / 1.47 GB, free: 1.797 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/1.116, allocations: 154.5 kB / 1.47 GB, free: 1.637 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.116, allocations: 338 kB / 1.47 GB, free: 1.301 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/1.117, allocations: 0.5277 MB / 1.471 GB, free: 0.7695 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/1.119, allocations: 0.6433 MB / 1.472 GB, free: 96 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/1.121, allocations: 1.123 MB / 1.473 GB, free: 14.95 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/1.122, allocations: 0 / 1.473 GB, free: 14.95 MB / 1.201 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003406/1.125, allocations: 1.325 MB / 1.474 GB, free: 13.61 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/1.125, allocations: 37.69 kB / 1.474 GB, free: 13.57 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/1.125, allocations: 4 kB / 1.474 GB, free: 13.56 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/1.125, allocations: 4 kB / 1.474 GB, free: 13.56 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/1.127, allocations: 259.6 kB / 1.474 GB, free: 13.3 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000671/1.127, allocations: 1.188 MB / 1.475 GB, free: 12.07 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/1.128, allocations: 143.4 kB / 1.476 GB, free: 11.93 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.785e-05/1.129, allocations: 39.97 kB / 1.476 GB, free: 11.89 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001753/1.13, allocations: 0.7439 MB / 1.476 GB, free: 11.14 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001482/1.132, allocations: 0.6433 MB / 1.477 GB, free: 10.47 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002782/1.135, allocations: 1.119 MB / 1.478 GB, free: 9.336 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/1.135, allocations: 0 / 1.478 GB, free: 9.336 MB / 1.201 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003375/1.138, allocations: 1.318 MB / 1.479 GB, free: 8.004 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/1.138, allocations: 37.7 kB / 1.479 GB, free: 7.961 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.138, allocations: 0 / 1.479 GB, free: 7.961 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.437e-06/1.138, allocations: 7.938 kB / 1.479 GB, free: 7.953 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.139, allocations: 219.8 kB / 1.48 GB, free: 7.738 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/1.139, allocations: 4 kB / 1.48 GB, free: 7.734 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/1.14, allocations: 127.5 kB / 1.48 GB, free: 7.609 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.372e-05/1.141, allocations: 39.97 kB / 1.48 GB, free: 7.57 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.000294/1.141, allocations: 224 kB / 1.48 GB, free: 7.344 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/1.141, allocations: 106.7 kB / 1.48 GB, free: 7.238 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003481/1.145, allocations: 1.343 MB / 1.481 GB, free: 5.883 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/1.145, allocations: 3.984 kB / 1.481 GB, free: 5.879 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.145, allocations: 0 / 1.481 GB, free: 5.879 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006038/1.145, allocations: 303.6 kB / 1.482 GB, free: 5.562 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/1.145, allocations: 12 kB / 1.482 GB, free: 5.551 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/1.146, allocations: 111.9 kB / 1.482 GB, free: 5.441 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/1.147, allocations: 44.59 kB / 1.482 GB, free: 5.398 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003818/1.15, allocations: 1.353 MB / 1.483 GB, free: 4.035 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004713/1.155, allocations: 2.102 MB / 1.485 GB, free: 1.914 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001451/1.157, allocations: 0.5595 MB / 1.486 GB, free: 1.355 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007497/1.157, allocations: 0.5739 MB / 1.486 GB, free: 0.7695 MB / 1.201 GB Notification: Performance of Backend: time 3.4e-07/1.157, allocations: 0 / 1.486 GB, free: 0.7695 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.005698/1.163, allocations: 2.025 MB / 1.488 GB, free: 14.73 MB / 1.217 GB Notification: Performance of SimCode: time 0.003649/1.167, allocations: 2.27 MB / 1.491 GB, free: 12.41 MB / 1.217 GB Notification: Performance of Templates: time 0.05195/1.219, allocations: 30.08 MB / 1.52 GB, free: 14.52 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches