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.001108/0.001108, allocations: 92 kB / 16.02 MB, free: 80 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.001562/0.001563, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.636/1.636, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.818/2.818, allocations: 462.6 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003706, allocations: 10.53 kB / 0.9034 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.336, allocations: 159.6 MB / 1.059 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.9419/1.278, allocations: 209.2 MB / 1.264 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01132/1.289, allocations: 7.063 MB / 1.271 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001853/1.291, allocations: 40.97 kB / 1.271 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00217/1.293, allocations: 0.6515 MB / 1.271 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007725/1.301, allocations: 2.368 MB / 1.274 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003549/1.305, allocations: 1.052 MB / 1.275 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006799/1.312, allocations: 3.755 MB / 1.278 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/1.314, allocations: 0.8939 MB / 1.279 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005392/1.319, allocations: 1.758 MB / 1.281 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003253/1.322, allocations: 0.9128 MB / 1.282 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002696/1.323, allocations: 49.84 kB / 1.282 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007939/1.331, allocations: 2.798 MB / 1.284 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007888/1.331, allocations: 344 kB / 1.285 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001397/1.333, allocations: 0.6312 MB / 1.285 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003585/1.336, allocations: 1.797 MB / 1.287 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.337, allocations: 0 / 1.287 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.555e-06/1.337, allocations: 1.094 kB / 1.287 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.009e-05/1.337, allocations: 0 / 1.287 GB, free: 2.125 MB / 0.9981 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.005132/1.342, allocations: 1.595 MB / 1.289 GB, free: 17.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/1.342, allocations: 16.56 kB / 1.289 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00338/1.345, allocations: 0.5871 MB / 1.289 GB, free: 17.13 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/1.347, allocations: 0.9624 MB / 1.29 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006677/1.348, allocations: 195.1 kB / 1.29 GB, free: 16.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/1.348, allocations: 85.62 kB / 1.291 GB, free: 16.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/1.351, allocations: 1.271 MB / 1.292 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/1.351, allocations: 0 / 1.292 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/1.351, allocations: 37.53 kB / 1.292 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.979e-05/1.351, allocations: 41.45 kB / 1.292 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004006/1.355, allocations: 1.622 MB / 1.293 GB, free: 16.66 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.006932/1.362, allocations: 4.095 MB / 1.297 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002635/1.365, allocations: 1.051 MB / 1.298 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/1.366, allocations: 0.696 MB / 1.299 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/1.367, allocations: 0.64 MB / 1.3 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/1.367, allocations: 45.91 kB / 1.3 GB, free: 14.34 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.166e-06/1.367, allocations: 0 / 1.3 GB, free: 14.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.005181/1.373, allocations: 1.922 MB / 1.302 GB, free: 14.19 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/1.373, allocations: 59.31 kB / 1.302 GB, free: 14.13 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/1.374, allocations: 0.8191 MB / 1.303 GB, free: 13.98 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/1.374, allocations: 42.55 kB / 1.303 GB, free: 13.95 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/1.374, allocations: 449.6 kB / 1.303 GB, free: 13.78 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/1.375, allocations: 257.8 kB / 1.303 GB, free: 13.61 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/1.375, allocations: 58.72 kB / 1.303 GB, free: 13.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.375, allocations: 333.6 kB / 1.304 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/1.376, allocations: 0.5639 MB / 1.304 GB, free: 13.28 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/1.378, allocations: 0.685 MB / 1.305 GB, free: 13.18 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002823/1.381, allocations: 1.211 MB / 1.306 GB, free: 13.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.381, allocations: 0 / 1.306 GB, free: 13.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003494/1.384, allocations: 1.417 MB / 1.307 GB, free: 12.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/1.384, allocations: 146.1 kB / 1.308 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.384, allocations: 0.9688 kB / 1.308 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/1.384, allocations: 7.781 kB / 1.308 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/1.386, allocations: 287.7 kB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006857/1.387, allocations: 1.193 MB / 1.309 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/1.388, allocations: 192.5 kB / 1.309 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-05/1.388, allocations: 33.25 kB / 1.309 GB, free: 11.52 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/1.388, allocations: 5.188 kB / 1.309 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002979/1.391, allocations: 1.306 MB / 1.31 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.391, allocations: 3.188 kB / 1.31 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.269e-06/1.391, allocations: 5.344 kB / 1.311 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/1.392, allocations: 245.9 kB / 1.311 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/1.392, allocations: 3.406 kB / 1.311 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/1.394, allocations: 196.2 kB / 1.311 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-05/1.394, allocations: 28.42 kB / 1.311 GB, free: 11.39 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.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.0007825/1.395, allocations: 380.1 kB / 1.311 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/1.395, allocations: 102.1 kB / 1.311 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003308/1.398, allocations: 1.436 MB / 1.313 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-06/1.398, allocations: 6.75 kB / 1.313 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/1.398, allocations: 5.047 kB / 1.313 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/1.398, allocations: 6.094 kB / 1.313 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005383/1.404, allocations: 2.933 MB / 1.316 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.404, allocations: 5.719 kB / 1.316 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/1.405, allocations: 253.4 kB / 1.316 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/1.405, allocations: 5.875 kB / 1.316 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.481e-05/1.405, allocations: 24.97 kB / 1.316 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005976/1.406, allocations: 1.189 MB / 1.317 GB, free: 9.344 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/1.406, allocations: 8.719 kB / 1.317 GB, free: 9.344 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/1.409, allocations: 1.546 MB / 1.319 GB, free: 8.973 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006162/1.409, allocations: 312 kB / 1.319 GB, free: 8.816 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/1.41, allocations: 13.44 kB / 1.319 GB, free: 8.816 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/1.411, allocations: 165.8 kB / 1.319 GB, free: 8.801 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/1.411, allocations: 67.58 kB / 1.319 GB, free: 8.789 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.236e-05/1.411, allocations: 36.47 kB / 1.319 GB, free: 8.789 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007285/1.412, allocations: 0.5704 MB / 1.32 GB, free: 8.68 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.412, allocations: 0 / 1.32 GB, free: 8.68 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001461/1.413, allocations: 0.5358 MB / 1.32 GB, free: 8.617 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 (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.0006442/1.414, allocations: 277.5 kB / 1.321 GB, free: 8.488 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005341/1.419, allocations: 2.135 MB / 1.323 GB, free: 8.297 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.419, allocations: 0 / 1.323 GB, free: 8.297 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/1.421, allocations: 0.7075 MB / 1.323 GB, free: 8.277 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003308/1.424, allocations: 0.5178 MB / 1.324 GB, free: 8.227 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004824/1.429, allocations: 2.613 MB / 1.326 GB, free: 6.969 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006904/1.43, allocations: 1.094 MB / 1.327 GB, free: 6.254 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005108/1.43, allocations: 100.6 kB / 1.328 GB, free: 6.246 MB / 1.014 GB Notification: Performance of SimCode: time 1.683e-06/1.43, allocations: 0 / 1.328 GB, free: 6.246 MB / 1.014 GB Notification: Performance of Templates: time 0.03574/1.466, allocations: 26.78 MB / 1.354 GB, free: 10.59 MB / 1.029 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches