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.001183/0.001183, allocations: 109.9 kB / 16.41 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.00119/0.00119, allocations: 183 kB / 17.34 MB, free: 5.766 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.333/1.333, 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.23/2.23, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 75.88 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9126/0.9142, 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.2723/1.187, allocations: 214.2 MB / 1.298 GB, free: 7.375 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01261/1.199, allocations: 7.043 MB / 1.305 GB, free: 324 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002127/1.201, allocations: 39.75 kB / 1.305 GB, free: 284 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002643/1.204, allocations: 0.8194 MB / 1.306 GB, free: 15.45 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007716/1.212, allocations: 2.625 MB / 1.308 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003504/1.215, allocations: 1.171 MB / 1.309 GB, free: 11.66 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004849/1.22, allocations: 2.833 MB / 1.312 GB, free: 8.812 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/1.222, allocations: 1.091 MB / 1.313 GB, free: 7.703 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005112/1.228, allocations: 2.055 MB / 1.315 GB, free: 5.641 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002614/1.23, allocations: 0.9311 MB / 1.316 GB, free: 4.711 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005167/1.231, allocations: 120 kB / 1.316 GB, free: 4.594 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005242/1.236, allocations: 2.455 MB / 1.318 GB, free: 2.133 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007624/1.237, allocations: 430.7 kB / 1.319 GB, free: 1.711 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001662/1.238, allocations: 0.6882 MB / 1.32 GB, free: 1.02 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005988/1.244, allocations: 2.481 MB / 1.322 GB, free: 14.53 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/1.244, allocations: 4 kB / 1.322 GB, free: 14.53 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.154e-06/1.244, allocations: 3.938 kB / 1.322 GB, free: 14.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.389e-05/1.245, allocations: 0 / 1.322 GB, free: 14.52 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.005734/1.25, allocations: 1.844 MB / 1.324 GB, free: 12.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.25, allocations: 8.031 kB / 1.324 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003305/1.254, allocations: 0.5408 MB / 1.324 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/1.256, allocations: 1.003 MB / 1.325 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.11e-05/1.256, allocations: 62 kB / 1.325 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002707/1.256, allocations: 84 kB / 1.325 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003232/1.26, allocations: 1.229 MB / 1.327 GB, free: 9.641 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/1.26, allocations: 0 / 1.327 GB, free: 9.641 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/1.26, allocations: 31.98 kB / 1.327 GB, free: 9.609 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.591e-05/1.26, allocations: 49.98 kB / 1.327 GB, free: 9.562 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003923/1.264, allocations: 1.526 MB / 1.328 GB, free: 8.035 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.007631/1.272, allocations: 4.044 MB / 1.332 GB, free: 3.715 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/1.274, allocations: 0.9623 MB / 1.333 GB, free: 2.746 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00156/1.276, allocations: 0.6552 MB / 1.334 GB, free: 2.086 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/1.277, allocations: 0.6164 MB / 1.334 GB, free: 1.359 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/1.277, allocations: 47.16 kB / 1.334 GB, free: 1.305 MB / 1.061 GB Notification: Performance of pre-optimization done (n=76): time 2.855e-06/1.277, allocations: 4 kB / 1.334 GB, free: 1.301 MB / 1.061 GB Notification: Performance of matching and sorting (n=76): time 0.005105/1.282, allocations: 1.781 MB / 1.336 GB, free: 15.51 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/1.282, allocations: 56.06 kB / 1.336 GB, free: 15.45 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/1.283, allocations: 0.8193 MB / 1.337 GB, free: 14.6 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/1.284, allocations: 49.7 kB / 1.337 GB, free: 14.55 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/1.284, allocations: 440.5 kB / 1.337 GB, free: 14.11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000257/1.284, allocations: 260.1 kB / 1.338 GB, free: 13.85 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003277/1.285, allocations: 150.5 kB / 1.338 GB, free: 13.7 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.285, allocations: 337.9 kB / 1.338 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/1.286, allocations: 0.5278 MB / 1.339 GB, free: 12.83 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/1.288, allocations: 0.6433 MB / 1.339 GB, free: 12.16 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002897/1.291, allocations: 1.115 MB / 1.34 GB, free: 11.02 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/1.291, allocations: 0 / 1.34 GB, free: 11.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003566/1.294, allocations: 1.329 MB / 1.342 GB, free: 9.676 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.203e-05/1.294, allocations: 37.7 kB / 1.342 GB, free: 9.633 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.294, allocations: 0 / 1.342 GB, free: 9.633 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/1.294, allocations: 4.062 kB / 1.342 GB, free: 9.629 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/1.296, allocations: 251.6 kB / 1.342 GB, free: 9.383 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008744/1.297, allocations: 1.199 MB / 1.343 GB, free: 8.137 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/1.298, allocations: 143.3 kB / 1.343 GB, free: 7.996 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/1.298, allocations: 35.97 kB / 1.343 GB, free: 7.961 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001835/1.3, allocations: 0.7517 MB / 1.344 GB, free: 7.207 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001523/1.302, allocations: 0.6433 MB / 1.345 GB, free: 6.535 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002801/1.304, allocations: 1.107 MB / 1.346 GB, free: 5.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.789e-06/1.304, allocations: 3.938 kB / 1.346 GB, free: 5.406 MB / 1.076 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.00354/1.308, allocations: 1.318 MB / 1.347 GB, free: 4.074 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/1.308, allocations: 39.88 kB / 1.347 GB, free: 4.031 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.308, allocations: 0 / 1.347 GB, free: 4.031 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/1.308, allocations: 8.062 kB / 1.347 GB, free: 4.023 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/1.309, allocations: 223.7 kB / 1.347 GB, free: 3.805 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/1.309, allocations: 4 kB / 1.347 GB, free: 3.801 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/1.31, allocations: 135.2 kB / 1.347 GB, free: 3.672 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/1.311, allocations: 27.98 kB / 1.347 GB, free: 3.645 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.000341/1.311, allocations: 233.6 kB / 1.348 GB, free: 3.41 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003484/1.311, allocations: 114.6 kB / 1.348 GB, free: 3.297 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003678/1.315, allocations: 1.34 MB / 1.349 GB, free: 1.945 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/1.315, allocations: 8 kB / 1.349 GB, free: 1.938 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.315, allocations: 0 / 1.349 GB, free: 1.938 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/1.315, allocations: 3.984 kB / 1.349 GB, free: 1.934 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006147/1.321, allocations: 2.843 MB / 1.352 GB, free: 14.98 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/1.321, allocations: 7.938 kB / 1.352 GB, free: 14.97 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/1.322, allocations: 228.1 kB / 1.352 GB, free: 14.75 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.909e-05/1.322, allocations: 11.98 kB / 1.352 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.45e-05/1.323, allocations: 23.98 kB / 1.352 GB, free: 14.71 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007688/1.323, allocations: 1.188 MB / 1.353 GB, free: 13.48 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.844e-06/1.323, allocations: 4.188 kB / 1.353 GB, free: 13.48 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003558/1.327, allocations: 1.455 MB / 1.355 GB, free: 11.96 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009363/1.328, allocations: 303.6 kB / 1.355 GB, free: 11.64 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003378/1.328, allocations: 23.94 kB / 1.355 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/1.33, allocations: 107.9 kB / 1.355 GB, free: 11.51 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/1.33, allocations: 64.48 kB / 1.355 GB, free: 11.45 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/1.33, allocations: 35.86 kB / 1.355 GB, free: 11.41 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001152/1.331, allocations: 0.5739 MB / 1.356 GB, free: 10.83 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.331, allocations: 0 / 1.356 GB, free: 10.83 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002088/1.333, allocations: 0.5341 MB / 1.356 GB, free: 10.29 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0008141/1.334, allocations: 273.6 kB / 1.357 GB, free: 10.03 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005848/1.34, allocations: 2.002 MB / 1.359 GB, free: 8.004 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/1.34, allocations: 4.062 kB / 1.359 GB, free: 8 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001824/1.342, allocations: 0.6597 MB / 1.359 GB, free: 7.34 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00286/1.345, allocations: 0.4988 MB / 1.36 GB, free: 6.844 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004883/1.35, allocations: 2.104 MB / 1.362 GB, free: 4.66 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008571/1.351, allocations: 1.094 MB / 1.363 GB, free: 3.535 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005516/1.351, allocations: 99.39 kB / 1.363 GB, free: 3.438 MB / 1.092 GB Notification: Performance of SimCode: time 9.12e-07/1.351, allocations: 0 / 1.363 GB, free: 3.438 MB / 1.092 GB Notification: Performance of Templates: time 0.03764/1.389, allocations: 26.84 MB / 1.389 GB, free: 8.707 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