Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001769/0.001769, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.002011/0.002011, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.493/2.493, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 67.89 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9049/0.9063, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.224/1.13, allocations: 214.2 MB / 1.376 GB, free: 12.84 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01108/1.141, allocations: 7.03 MB / 1.383 GB, free: 5.797 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/1.144, allocations: 47.69 kB / 1.383 GB, free: 5.75 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002186/1.146, allocations: 0.8155 MB / 1.384 GB, free: 4.93 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006813/1.153, allocations: 2.63 MB / 1.387 GB, free: 2.289 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00327/1.156, allocations: 1.183 MB / 1.388 GB, free: 1.117 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004345/1.16, allocations: 2.829 MB / 1.391 GB, free: 14.28 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/1.162, allocations: 1.087 MB / 1.392 GB, free: 13.17 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004798/1.167, allocations: 2.063 MB / 1.394 GB, free: 11.11 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002479/1.17, allocations: 0.9413 MB / 1.395 GB, free: 10.17 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004572/1.17, allocations: 116 kB / 1.395 GB, free: 10.05 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005308/1.175, allocations: 2.463 MB / 1.397 GB, free: 7.586 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006831/1.176, allocations: 422.7 kB / 1.398 GB, free: 7.172 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001426/1.178, allocations: 0.6881 MB / 1.398 GB, free: 6.48 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005325/1.183, allocations: 2.482 MB / 1.401 GB, free: 3.992 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.183, allocations: 0 / 1.401 GB, free: 3.992 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.914e-06/1.183, allocations: 0 / 1.401 GB, free: 3.992 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.494e-05/1.183, allocations: 0 / 1.401 GB, free: 3.992 MB / 1.123 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.00569/1.189, allocations: 1.851 MB / 1.402 GB, free: 2.078 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/1.189, allocations: 8.922 kB / 1.403 GB, free: 2.07 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003418/1.192, allocations: 0.5408 MB / 1.403 GB, free: 1.527 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/1.195, allocations: 0.9992 MB / 1.404 GB, free: 496 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.568e-05/1.195, allocations: 66 kB / 1.404 GB, free: 432 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/1.195, allocations: 80 kB / 1.404 GB, free: 352 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003132/1.198, allocations: 1.237 MB / 1.405 GB, free: 15.1 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/1.198, allocations: 0 / 1.405 GB, free: 15.1 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/1.198, allocations: 43.91 kB / 1.405 GB, free: 15.06 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.751e-05/1.198, allocations: 45.98 kB / 1.405 GB, free: 15.01 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00394/1.202, allocations: 1.522 MB / 1.407 GB, free: 13.49 MB / 1.139 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.007432/1.21, allocations: 4.025 MB / 1.411 GB, free: 9.184 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/1.212, allocations: 0.9717 MB / 1.412 GB, free: 8.207 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/1.214, allocations: 0.6513 MB / 1.412 GB, free: 7.551 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/1.215, allocations: 0.6087 MB / 1.413 GB, free: 6.832 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/1.215, allocations: 43.22 kB / 1.413 GB, free: 6.781 MB / 1.139 GB Notification: Performance of pre-optimization done (n=76): time 3.486e-06/1.215, allocations: 0 / 1.413 GB, free: 6.781 MB / 1.139 GB Notification: Performance of matching and sorting (n=76): time 0.005162/1.22, allocations: 1.785 MB / 1.415 GB, free: 4.988 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/1.22, allocations: 64.06 kB / 1.415 GB, free: 4.914 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/1.222, allocations: 0.8232 MB / 1.416 GB, free: 4.066 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001413/1.222, allocations: 45.7 kB / 1.416 GB, free: 4.016 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/1.222, allocations: 436.5 kB / 1.416 GB, free: 3.582 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/1.222, allocations: 260.1 kB / 1.416 GB, free: 3.324 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003149/1.223, allocations: 150.5 kB / 1.417 GB, free: 3.172 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.223, allocations: 337.9 kB / 1.417 GB, free: 2.836 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/1.224, allocations: 0.5239 MB / 1.417 GB, free: 2.309 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/1.226, allocations: 0.6433 MB / 1.418 GB, free: 1.637 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002875/1.229, allocations: 1.119 MB / 1.419 GB, free: 0.5 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/1.229, allocations: 0 / 1.419 GB, free: 0.5 MB / 1.139 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003576/1.232, allocations: 1.337 MB / 1.42 GB, free: 15.15 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.348e-05/1.232, allocations: 33.7 kB / 1.42 GB, free: 15.11 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.232, allocations: 4.062 kB / 1.42 GB, free: 15.11 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/1.233, allocations: 4 kB / 1.42 GB, free: 15.1 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/1.234, allocations: 247.7 kB / 1.421 GB, free: 14.86 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007653/1.235, allocations: 1.192 MB / 1.422 GB, free: 13.62 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/1.236, allocations: 143.4 kB / 1.422 GB, free: 13.48 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/1.236, allocations: 31.98 kB / 1.422 GB, free: 13.45 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001887/1.238, allocations: 0.7517 MB / 1.423 GB, free: 12.69 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00153/1.24, allocations: 0.6356 MB / 1.423 GB, free: 12.03 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002864/1.243, allocations: 1.115 MB / 1.424 GB, free: 10.89 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/1.243, allocations: 0 / 1.424 GB, free: 10.89 MB / 1.154 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003462/1.246, allocations: 1.321 MB / 1.426 GB, free: 9.555 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/1.246, allocations: 41.69 kB / 1.426 GB, free: 9.508 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.246, allocations: 4 kB / 1.426 GB, free: 9.504 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/1.246, allocations: 7.938 kB / 1.426 GB, free: 9.496 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/1.247, allocations: 227.7 kB / 1.426 GB, free: 9.273 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/1.247, allocations: 4 kB / 1.426 GB, free: 9.27 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/1.249, allocations: 127.5 kB / 1.426 GB, free: 9.145 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.033e-05/1.249, allocations: 31.98 kB / 1.426 GB, free: 9.113 MB / 1.154 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.0003107/1.249, allocations: 220.1 kB / 1.426 GB, free: 8.891 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/1.249, allocations: 110.6 kB / 1.426 GB, free: 8.781 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003636/1.253, allocations: 1.344 MB / 1.428 GB, free: 7.43 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/1.253, allocations: 11.86 kB / 1.428 GB, free: 7.418 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.253, allocations: 4 kB / 1.428 GB, free: 7.414 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006068/1.254, allocations: 307.5 kB / 1.428 GB, free: 7.094 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/1.254, allocations: 12 kB / 1.428 GB, free: 7.082 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/1.255, allocations: 95.89 kB / 1.428 GB, free: 6.988 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/1.255, allocations: 48.58 kB / 1.428 GB, free: 6.941 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004013/1.259, allocations: 1.354 MB / 1.43 GB, free: 5.574 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004891/1.264, allocations: 2.105 MB / 1.432 GB, free: 3.453 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001459/1.266, allocations: 0.5595 MB / 1.432 GB, free: 2.891 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008382/1.267, allocations: 0.57 MB / 1.433 GB, free: 2.309 MB / 1.154 GB Notification: Performance of Backend: time 6.91e-07/1.267, allocations: 0 / 1.433 GB, free: 2.309 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006691/1.273, allocations: 2.037 MB / 1.435 GB, free: 268 kB / 1.154 GB Notification: Performance of SimCode: time 0.004715/1.278, allocations: 2.249 MB / 1.437 GB, free: 13.96 MB / 1.17 GB Notification: Performance of Templates: time 0.04839/1.326, allocations: 30.11 MB / 1.466 GB, free: 56 kB / 1.186 GB make -j1 -f Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches