Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 99.11 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 185.9 kB / 16.92 MB, free: 6.688 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: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.675/2.675, allocations: 437.8 MB / 0.7128 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005048/0.000505, allocations: 8 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7262/0.7267, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.2525/0.9792, allocations: 209.3 MB / 1.228 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01387/0.9931, allocations: 7.06 MB / 1.235 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/0.9958, allocations: 35.75 kB / 1.235 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00278/0.9986, allocations: 0.6566 MB / 1.236 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008463/1.007, allocations: 2.373 MB / 1.238 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003759/1.011, allocations: 1.054 MB / 1.239 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.8886/1.899, allocations: 3.746 MB / 1.243 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002624/1.902, allocations: 0.8969 MB / 1.243 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006304/1.908, allocations: 1.751 MB / 1.245 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003857/1.912, allocations: 0.9143 MB / 1.246 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004292/1.913, allocations: 45.69 kB / 1.246 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007798/1.921, allocations: 2.801 MB / 1.249 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001327/1.922, allocations: 348.1 kB / 1.249 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001953/1.924, allocations: 0.6321 MB / 1.25 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004767/1.929, allocations: 1.791 MB / 1.252 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/1.929, allocations: 2.906 kB / 1.252 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of FrontEnd: time 6.422e-06/1.929, allocations: 1.375 kB / 1.252 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.324e-05/1.929, allocations: 0 / 1.252 GB, free: 4.297 MB / 0.9825 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.006917/1.936, allocations: 1.595 MB / 1.253 GB, free: 19.42 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/1.936, allocations: 10.02 kB / 1.253 GB, free: 19.42 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00448/1.94, allocations: 0.5782 MB / 1.254 GB, free: 19.33 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003117/1.944, allocations: 0.9685 MB / 1.255 GB, free: 18.98 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008468/1.944, allocations: 194.7 kB / 1.255 GB, free: 18.97 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003763/1.945, allocations: 89.53 kB / 1.255 GB, free: 18.96 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003766/1.949, allocations: 1.269 MB / 1.256 GB, free: 18.89 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/1.949, allocations: 0 / 1.256 GB, free: 18.89 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/1.949, allocations: 37.02 kB / 1.256 GB, free: 18.89 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.316e-05/1.949, allocations: 46.8 kB / 1.256 GB, free: 18.89 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004725/1.954, allocations: 1.619 MB / 1.258 GB, free: 18.85 MB / 0.9981 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.009014/1.963, allocations: 4.084 MB / 1.262 GB, free: 17.26 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/1.966, allocations: 1.047 MB / 1.263 GB, free: 17.21 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/1.968, allocations: 0.6961 MB / 1.264 GB, free: 17.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001305/1.969, allocations: 0.6423 MB / 1.264 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/1.969, allocations: 46.88 kB / 1.264 GB, free: 16.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.868e-06/1.969, allocations: 0 / 1.264 GB, free: 16.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.005867/1.975, allocations: 1.917 MB / 1.266 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/1.975, allocations: 59.38 kB / 1.266 GB, free: 16.37 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/1.977, allocations: 0.8216 MB / 1.267 GB, free: 16.22 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001898/1.977, allocations: 42.27 kB / 1.267 GB, free: 16.19 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004274/1.977, allocations: 450.1 kB / 1.267 GB, free: 16.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/1.977, allocations: 257.5 kB / 1.268 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/1.978, allocations: 57.31 kB / 1.268 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.978, allocations: 335.2 kB / 1.268 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/1.98, allocations: 0.5668 MB / 1.269 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/1.981, allocations: 0.6837 MB / 1.269 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002964/1.984, allocations: 1.21 MB / 1.27 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.984, allocations: 0 / 1.27 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003725/1.988, allocations: 1.421 MB / 1.272 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/1.988, allocations: 146.1 kB / 1.272 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.988, allocations: 0 / 1.272 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.598e-05/1.988, allocations: 6.344 kB / 1.272 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/1.99, allocations: 284.6 kB / 1.272 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008437/1.991, allocations: 1.189 MB / 1.273 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/1.992, allocations: 198.4 kB / 1.274 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/1.993, allocations: 35.47 kB / 1.274 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/1.993, allocations: 6.812 kB / 1.274 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003374/1.996, allocations: 1.3 MB / 1.275 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/1.996, allocations: 2.906 kB / 1.275 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/1.996, allocations: 16.72 kB / 1.275 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.997, allocations: 240.7 kB / 1.275 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/1.997, allocations: 5.469 kB / 1.275 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/1.999, allocations: 198.1 kB / 1.275 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/1.999, allocations: 31.48 kB / 1.275 GB, free: 13.62 MB / 0.9981 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.0009235/2, allocations: 370 kB / 1.276 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004344/2, allocations: 107.1 kB / 1.276 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003938/2.004, allocations: 1.438 MB / 1.277 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/2.004, allocations: 6.438 kB / 1.277 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/2.004, allocations: 3.938 kB / 1.277 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/2.005, allocations: 6.094 kB / 1.277 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006682/2.011, allocations: 2.931 MB / 1.28 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/2.011, allocations: 5.375 kB / 1.28 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/2.013, allocations: 255.5 kB / 1.28 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.596e-05/2.013, allocations: 5.344 kB / 1.28 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.066e-05/2.013, allocations: 23.11 kB / 1.28 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007277/2.013, allocations: 1.191 MB / 1.282 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/2.013, allocations: 14.56 kB / 1.282 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003617/2.017, allocations: 1.541 MB / 1.283 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008459/2.018, allocations: 308.7 kB / 1.283 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003362/2.018, allocations: 13.34 kB / 1.283 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/2.02, allocations: 174.4 kB / 1.284 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/2.02, allocations: 58.77 kB / 1.284 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/2.02, allocations: 36.88 kB / 1.284 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00109/2.021, allocations: 0.5694 MB / 1.284 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/2.021, allocations: 5.859 kB / 1.284 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00238/2.024, allocations: 0.5335 MB / 1.285 GB, free: 10.86 MB / 0.9981 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.0008381/2.025, allocations: 277.5 kB / 1.285 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005805/2.03, allocations: 2.134 MB / 1.287 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/2.031, allocations: 0 / 1.287 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001869/2.032, allocations: 0.7058 MB / 1.288 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004184/2.037, allocations: 0.5228 MB / 1.288 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005768/2.042, allocations: 2.618 MB / 1.291 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009393/2.043, allocations: 1.098 MB / 1.292 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007501/2.044, allocations: 98.62 kB / 1.292 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of SimCode: time 1.182e-06/2.044, allocations: 0 / 1.292 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of Templates: time 0.04504/2.089, allocations: 26.76 MB / 1.318 GB, free: 192 kB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches