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.001149/0.001149, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001066/0.001066, allocations: 197.5 kB / 16.91 MB, free: 6.195 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.451/1.451, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.738/2.738, allocations: 469.4 MB / 0.7423 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 68.86 kB / 0.9083 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4284, allocations: 159.1 MB / 1.064 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 1.145/1.574, allocations: 211.5 MB / 1.27 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02379/1.598, allocations: 7.008 MB / 1.277 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004041/1.602, allocations: 43.69 kB / 1.277 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004949/1.607, allocations: 0.688 MB / 1.278 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01696/1.624, allocations: 2.363 MB / 1.28 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007104/1.631, allocations: 1.067 MB / 1.281 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008007/1.639, allocations: 2.836 MB / 1.284 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003252/1.642, allocations: 1.067 MB / 1.285 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009029/1.651, allocations: 1.977 MB / 1.287 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004399/1.656, allocations: 1.005 MB / 1.288 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007014/1.657, allocations: 120 kB / 1.288 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01046/1.667, allocations: 2.568 MB / 1.291 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001456/1.669, allocations: 422.7 kB / 1.291 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002422/1.671, allocations: 0.6921 MB / 1.292 GB, free: 192 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006452/1.678, allocations: 1.84 MB / 1.293 GB, free: 14.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/1.678, allocations: 3.938 kB / 1.293 GB, free: 14.34 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.915e-06/1.678, allocations: 0 / 1.293 GB, free: 14.34 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.045e-05/1.678, allocations: 0 / 1.293 GB, free: 14.34 MB / 1.014 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.01039/1.688, allocations: 1.84 MB / 1.295 GB, free: 12.44 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.497e-05/1.688, allocations: 12.62 kB / 1.295 GB, free: 12.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006098/1.694, allocations: 0.5409 MB / 1.296 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003865/1.698, allocations: 0.9601 MB / 1.297 GB, free: 10.88 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001196/1.699, allocations: 173.9 kB / 1.297 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004224/1.7, allocations: 83.94 kB / 1.297 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005952/1.706, allocations: 1.241 MB / 1.298 GB, free: 9.383 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/1.706, allocations: 4 kB / 1.298 GB, free: 9.379 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002343/1.706, allocations: 35.98 kB / 1.298 GB, free: 9.344 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/1.706, allocations: 41.98 kB / 1.298 GB, free: 9.305 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00722/1.714, allocations: 1.546 MB / 1.3 GB, free: 7.754 MB / 1.014 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.01288/1.726, allocations: 4.051 MB / 1.304 GB, free: 3.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004989/1.732, allocations: 0.9975 MB / 1.305 GB, free: 2.426 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003049/1.735, allocations: 0.6669 MB / 1.305 GB, free: 1.746 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001989/1.737, allocations: 0.6048 MB / 1.306 GB, free: 1.031 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.603e-05/1.737, allocations: 47.16 kB / 1.306 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 4.589e-06/1.737, allocations: 0 / 1.306 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.007304/1.744, allocations: 1.812 MB / 1.308 GB, free: 15.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/1.744, allocations: 60.06 kB / 1.308 GB, free: 15.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/1.746, allocations: 0.8233 MB / 1.309 GB, free: 14.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001331/1.746, allocations: 45.7 kB / 1.309 GB, free: 14.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004285/1.746, allocations: 440.5 kB / 1.309 GB, free: 13.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/1.746, allocations: 264.1 kB / 1.309 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003616/1.747, allocations: 150.5 kB / 1.309 GB, free: 13.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.747, allocations: 334 kB / 1.31 GB, free: 13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/1.748, allocations: 0.5395 MB / 1.31 GB, free: 12.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/1.75, allocations: 0.655 MB / 1.311 GB, free: 11.78 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002865/1.753, allocations: 1.134 MB / 1.312 GB, free: 10.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/1.753, allocations: 7.875 kB / 1.312 GB, free: 10.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003598/1.757, allocations: 1.345 MB / 1.313 GB, free: 9.258 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.619e-05/1.757, allocations: 37.69 kB / 1.313 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.757, allocations: 0 / 1.313 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/1.757, allocations: 4 kB / 1.313 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/1.758, allocations: 258.5 kB / 1.314 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008449/1.759, allocations: 1.188 MB / 1.315 GB, free: 7.727 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/1.761, allocations: 179.3 kB / 1.315 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/1.761, allocations: 35.97 kB / 1.315 GB, free: 7.516 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001938/1.763, allocations: 0.7634 MB / 1.316 GB, free: 6.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001512/1.764, allocations: 0.6433 MB / 1.316 GB, free: 6.078 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002815/1.767, allocations: 1.13 MB / 1.318 GB, free: 4.926 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.032e-06/1.767, allocations: 3.984 kB / 1.318 GB, free: 4.922 MB / 1.029 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003531/1.771, allocations: 1.337 MB / 1.319 GB, free: 3.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/1.771, allocations: 33.69 kB / 1.319 GB, free: 3.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.771, allocations: 8.812 kB / 1.319 GB, free: 3.523 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.567e-06/1.771, allocations: 4 kB / 1.319 GB, free: 3.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.772, allocations: 227.8 kB / 1.319 GB, free: 3.297 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/1.772, allocations: 4 kB / 1.319 GB, free: 3.293 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/1.773, allocations: 155.5 kB / 1.319 GB, free: 3.141 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/1.774, allocations: 39.98 kB / 1.319 GB, free: 3.102 MB / 1.029 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.0003661/1.774, allocations: 220.1 kB / 1.319 GB, free: 2.879 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/1.774, allocations: 106.6 kB / 1.32 GB, free: 2.773 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003671/1.778, allocations: 1.376 MB / 1.321 GB, free: 1.391 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/1.778, allocations: 8 kB / 1.321 GB, free: 1.383 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/1.778, allocations: 4 kB / 1.321 GB, free: 1.379 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/1.778, allocations: 3.984 kB / 1.321 GB, free: 1.375 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006332/1.784, allocations: 2.843 MB / 1.324 GB, free: 14.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.699e-06/1.784, allocations: 7.984 kB / 1.324 GB, free: 14.42 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/1.786, allocations: 240.1 kB / 1.324 GB, free: 14.19 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.216e-05/1.786, allocations: 7.938 kB / 1.324 GB, free: 14.18 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.563e-05/1.786, allocations: 23.98 kB / 1.324 GB, free: 14.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009799/1.787, allocations: 1.195 MB / 1.325 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/1.787, allocations: 11.88 kB / 1.325 GB, free: 12.9 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004098/1.791, allocations: 1.467 MB / 1.327 GB, free: 11.37 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.792, allocations: 303.6 kB / 1.327 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003812/1.792, allocations: 16 kB / 1.327 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/1.794, allocations: 147.7 kB / 1.327 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002335/1.795, allocations: 64.36 kB / 1.327 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/1.795, allocations: 35.97 kB / 1.327 GB, free: 10.8 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001486/1.796, allocations: 0.57 MB / 1.328 GB, free: 10.21 MB / 1.045 GB Notification: Performance of sort global known variables: time 5.71e-07/1.796, allocations: 0 / 1.328 GB, free: 10.21 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002654/1.799, allocations: 0.5302 MB / 1.328 GB, free: 9.684 MB / 1.045 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.001049/1.8, allocations: 278.8 kB / 1.328 GB, free: 9.418 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.006665/1.807, allocations: 2.127 MB / 1.331 GB, free: 7.266 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/1.807, allocations: 7.938 kB / 1.331 GB, free: 7.258 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001879/1.809, allocations: 0.6714 MB / 1.331 GB, free: 6.586 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003055/1.812, allocations: 0.4923 MB / 1.332 GB, free: 6.102 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005667/1.817, allocations: 2.574 MB / 1.334 GB, free: 3.453 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/1.818, allocations: 1.087 MB / 1.335 GB, free: 2.332 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005852/1.819, allocations: 103.4 kB / 1.335 GB, free: 2.23 MB / 1.045 GB Notification: Performance of SimCode: time 1.473e-06/1.819, allocations: 0 / 1.335 GB, free: 2.23 MB / 1.045 GB Notification: Performance of Templates: time 0.04182/1.861, allocations: 26.73 MB / 1.361 GB, free: 7.602 MB / 1.076 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