Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Validation.ConstantEffectivenessZeroFlowBothStreams,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_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,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_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001278/0.001278, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.74/2.74, allocations: 462.6 MB / 0.736 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003077, allocations: 8.656 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2566, allocations: 159.6 MB / 1.058 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.2016/0.4582, allocations: 195.2 MB / 1.249 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5256/0.9839, allocations: 6.6 MB / 1.255 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.985, allocations: 38.06 kB / 1.255 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.9863, allocations: 0.4978 MB / 1.256 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004193/0.9905, allocations: 1.804 MB / 1.257 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002525/0.9931, allocations: 0.9007 MB / 1.258 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003505/0.9966, allocations: 3.202 MB / 1.261 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.9978, allocations: 0.7966 MB / 1.262 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003041/1.001, allocations: 1.526 MB / 1.264 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/1.002, allocations: 0.8649 MB / 1.264 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001448/1.002, allocations: 46.5 kB / 1.265 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003253/1.006, allocations: 1.544 MB / 1.266 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004168/1.006, allocations: 342.1 kB / 1.266 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005923/1.007, allocations: 269.6 kB / 1.267 GB, free: 22.49 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002346/1.009, allocations: 1.709 MB / 1.268 GB, free: 22.36 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.009, allocations: 0 / 1.268 GB, free: 22.36 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/1.009, allocations: 0.9375 kB / 1.268 GB, free: 22.36 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.542e-05/1.009, allocations: 0 / 1.268 GB, free: 22.36 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.004183/1.013, allocations: 1.611 MB / 1.27 GB, free: 21.47 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/1.013, allocations: 10.33 kB / 1.27 GB, free: 21.47 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003128/1.016, allocations: 0.5852 MB / 1.27 GB, free: 21.38 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/1.018, allocations: 0.9292 MB / 1.271 GB, free: 21.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000584/1.019, allocations: 196.4 kB / 1.272 GB, free: 21.05 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/1.019, allocations: 85.36 kB / 1.272 GB, free: 21.05 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002885/1.022, allocations: 1.265 MB / 1.273 GB, free: 20.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/1.022, allocations: 0 / 1.273 GB, free: 20.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/1.022, allocations: 33.7 kB / 1.273 GB, free: 20.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.268e-05/1.022, allocations: 45.62 kB / 1.273 GB, free: 20.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004284/1.026, allocations: 1.615 MB / 1.275 GB, free: 20.94 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.006148/1.033, allocations: 4.085 MB / 1.279 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/1.035, allocations: 1.044 MB / 1.28 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/1.036, allocations: 0.7039 MB / 1.28 GB, free: 19.24 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/1.037, allocations: 0.6347 MB / 1.281 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/1.038, allocations: 43.25 kB / 1.281 GB, free: 18.63 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 2.675e-06/1.038, allocations: 4.938 kB / 1.281 GB, free: 18.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.004553/1.042, allocations: 1.914 MB / 1.283 GB, free: 18.49 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/1.042, allocations: 58.91 kB / 1.283 GB, free: 18.43 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/1.043, allocations: 0.8169 MB / 1.284 GB, free: 18.28 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/1.043, allocations: 44.36 kB / 1.284 GB, free: 18.25 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003263/1.044, allocations: 443.7 kB / 1.284 GB, free: 18.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/1.044, allocations: 260.8 kB / 1.284 GB, free: 17.91 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/1.044, allocations: 20.78 kB / 1.284 GB, free: 17.9 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.044, allocations: 334 kB / 1.285 GB, free: 17.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/1.046, allocations: 0.5544 MB / 1.285 GB, free: 17.58 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/1.047, allocations: 0.6809 MB / 1.286 GB, free: 17.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/1.048, allocations: 0.6163 MB / 1.286 GB, free: 17.42 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.048, allocations: 1.219 kB / 1.286 GB, free: 17.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003093/1.051, allocations: 1.404 MB / 1.288 GB, free: 17.27 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.497e-05/1.052, allocations: 148.2 kB / 1.288 GB, free: 17.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.052, allocations: 0 / 1.288 GB, free: 17.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/1.052, allocations: 4.281 kB / 1.288 GB, free: 17.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/1.053, allocations: 282.8 kB / 1.288 GB, free: 17.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006589/1.054, allocations: 1.186 MB / 1.289 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/1.055, allocations: 198.5 kB / 1.29 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.565e-05/1.055, allocations: 36.7 kB / 1.29 GB, free: 15.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/1.055, allocations: 3.688 kB / 1.29 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002918/1.058, allocations: 1.308 MB / 1.291 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/1.058, allocations: 0.9688 kB / 1.291 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/1.058, allocations: 3.844 kB / 1.291 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.059, allocations: 253.4 kB / 1.291 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/1.059, allocations: 4.188 kB / 1.291 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/1.06, allocations: 201 kB / 1.291 GB, free: 15.74 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.427e-05/1.06, allocations: 29.39 kB / 1.291 GB, free: 15.74 MB / 1.014 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.i1_w,hex.i2_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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000609/1.061, allocations: 370.4 kB / 1.292 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/1.061, allocations: 113.5 kB / 1.292 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003131/1.064, allocations: 1.44 MB / 1.293 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/1.064, allocations: 6.781 kB / 1.293 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.064, allocations: 5.25 kB / 1.293 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/1.064, allocations: 3.141 kB / 1.293 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004776/1.069, allocations: 2.922 MB / 1.296 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/1.069, allocations: 6.953 kB / 1.296 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/1.07, allocations: 247.7 kB / 1.296 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/1.07, allocations: 6 kB / 1.296 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-05/1.07, allocations: 24.12 kB / 1.296 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005269/1.071, allocations: 1.198 MB / 1.298 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.071, allocations: 7.859 kB / 1.298 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/1.074, allocations: 1.538 MB / 1.299 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000446/1.074, allocations: 308.6 kB / 1.299 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/1.074, allocations: 19.12 kB / 1.299 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/1.076, allocations: 168.3 kB / 1.3 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.076, allocations: 61.64 kB / 1.3 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.516e-05/1.076, allocations: 36.19 kB / 1.3 GB, free: 13.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006464/1.076, allocations: 0.5624 MB / 1.3 GB, free: 13.04 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.077, allocations: 0 / 1.3 GB, free: 13.04 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001377/1.078, allocations: 0.5277 MB / 1.301 GB, free: 12.98 MB / 1.014 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005132/1.078, allocations: 270 kB / 1.301 GB, free: 12.86 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004406/1.083, allocations: 2.132 MB / 1.303 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.083, allocations: 0 / 1.303 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/1.084, allocations: 0.7014 MB / 1.304 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/1.087, allocations: 0.5269 MB / 1.304 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/1.09, allocations: 2.479 MB / 1.307 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/1.091, allocations: 1.094 MB / 1.308 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0016/1.093, allocations: 391.2 kB / 1.308 GB, free: 10.64 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/1.093, allocations: 92.98 kB / 1.308 GB, free: 10.64 MB / 1.014 GB Notification: Performance of SimCode: time 6.41e-07/1.093, allocations: 0 / 1.308 GB, free: 10.64 MB / 1.014 GB Notification: Performance of Templates: time 0.02708/1.12, allocations: 19.65 MB / 1.327 GB, free: 5.277 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches