Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.0009847/0.0009847, allocations: 92.23 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.001399/0.001399, allocations: 183.9 kB / 16.92 MB, free: 6.922 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.406/1.406, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003573, allocations: 8 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8311/0.8315, allocations: 142.4 MB / 0.9557 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.2225/1.054, allocations: 209.2 MB / 1.16 GB, free: 13.38 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01112/1.065, allocations: 7.051 MB / 1.167 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/1.067, allocations: 35.75 kB / 1.167 GB, free: 6.277 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001977/1.069, allocations: 0.6567 MB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006612/1.076, allocations: 2.366 MB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003167/1.079, allocations: 1.056 MB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005184/1.084, allocations: 3.768 MB / 1.175 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/1.086, allocations: 0.8986 MB / 1.176 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004726/1.09, allocations: 1.755 MB / 1.177 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002705/1.093, allocations: 0.9093 MB / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004053/1.094, allocations: 44 kB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005881/1.099, allocations: 2.798 MB / 1.181 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000805/1.1, allocations: 350.7 kB / 1.181 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001645/1.102, allocations: 0.6234 MB / 1.182 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003244/1.105, allocations: 1.793 MB / 1.184 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.105, allocations: 0 / 1.184 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.452e-06/1.105, allocations: 4 kB / 1.184 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.677e-05/1.105, allocations: 0 / 1.184 GB, free: 5.203 MB / 0.9356 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.004705/1.11, allocations: 1.598 MB / 1.185 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.11, allocations: 8.031 kB / 1.185 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003458/1.114, allocations: 0.5877 MB / 1.186 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/1.116, allocations: 0.9602 MB / 1.187 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006592/1.116, allocations: 197.8 kB / 1.187 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/1.117, allocations: 83.98 kB / 1.187 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002997/1.12, allocations: 1.272 MB / 1.188 GB, free: 396 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/1.12, allocations: 4 kB / 1.188 GB, free: 392 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/1.12, allocations: 32 kB / 1.188 GB, free: 360 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.32e-05/1.12, allocations: 45.92 kB / 1.188 GB, free: 312 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003885/1.124, allocations: 1.616 MB / 1.19 GB, free: 14.69 MB / 0.9512 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.006545/1.13, allocations: 4.095 MB / 1.194 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/1.133, allocations: 1.053 MB / 1.195 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/1.135, allocations: 0.7078 MB / 1.196 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/1.136, allocations: 0.636 MB / 1.196 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/1.136, allocations: 39.22 kB / 1.196 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=76): time 5.801e-06/1.136, allocations: 4 kB / 1.196 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76): time 0.005075/1.141, allocations: 1.914 MB / 1.198 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/1.141, allocations: 60.06 kB / 1.198 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/1.142, allocations: 0.8232 MB / 1.199 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/1.142, allocations: 41.7 kB / 1.199 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/1.142, allocations: 444.5 kB / 1.199 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/1.143, allocations: 260.2 kB / 1.2 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/1.143, allocations: 69.62 kB / 1.2 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.143, allocations: 329.9 kB / 1.2 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/1.144, allocations: 0.568 MB / 1.201 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/1.146, allocations: 0.6902 MB / 1.201 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002881/1.149, allocations: 1.201 MB / 1.202 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/1.149, allocations: 3.984 kB / 1.202 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003445/1.152, allocations: 1.411 MB / 1.204 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/1.152, allocations: 148 kB / 1.204 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.152, allocations: 4 kB / 1.204 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/1.153, allocations: 0 / 1.204 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/1.154, allocations: 287.5 kB / 1.204 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006893/1.155, allocations: 1.192 MB / 1.205 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/1.156, allocations: 195.3 kB / 1.206 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.561e-05/1.156, allocations: 27.98 kB / 1.206 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/1.156, allocations: 11.88 kB / 1.206 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003183/1.159, allocations: 1.305 MB / 1.207 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/1.159, allocations: 0 / 1.207 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/1.159, allocations: 4 kB / 1.207 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/1.161, allocations: 251.8 kB / 1.207 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/1.161, allocations: 4 kB / 1.207 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/1.162, allocations: 187.3 kB / 1.207 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.657e-05/1.162, allocations: 31.97 kB / 1.207 GB, free: 12.12 MB / 0.9669 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.0006437/1.163, allocations: 374.3 kB / 1.208 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/1.163, allocations: 118.5 kB / 1.208 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003539/1.166, allocations: 1.433 MB / 1.209 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/1.166, allocations: 12 kB / 1.209 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.166, allocations: 0 / 1.209 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/1.167, allocations: 3.984 kB / 1.209 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005681/1.172, allocations: 2.929 MB / 1.212 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.172, allocations: 4 kB / 1.212 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/1.174, allocations: 264 kB / 1.212 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/1.174, allocations: 8 kB / 1.212 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.545e-05/1.174, allocations: 23.98 kB / 1.212 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005928/1.174, allocations: 1.188 MB / 1.214 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.174, allocations: 8.125 kB / 1.214 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003397/1.178, allocations: 1.541 MB / 1.215 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005532/1.178, allocations: 307.6 kB / 1.215 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/1.178, allocations: 16 kB / 1.215 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/1.18, allocations: 171.6 kB / 1.216 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/1.18, allocations: 60.42 kB / 1.216 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.82e-05/1.18, allocations: 31.97 kB / 1.216 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007831/1.181, allocations: 0.5778 MB / 1.216 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.181, allocations: 0 / 1.216 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001425/1.182, allocations: 0.538 MB / 1.217 GB, free: 2.27 MB / 0.9669 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.0006377/1.183, allocations: 271 kB / 1.217 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005387/1.188, allocations: 2.131 MB / 1.219 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.188, allocations: 0 / 1.219 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001759/1.19, allocations: 0.7105 MB / 1.22 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003259/1.193, allocations: 0.5207 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004764/1.198, allocations: 2.61 MB / 1.223 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006758/1.199, allocations: 1.087 MB / 1.224 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004663/1.199, allocations: 99.38 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of SimCode: time 9.51e-07/1.199, allocations: 4 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of Templates: time 0.03674/1.236, allocations: 26.77 MB / 1.25 GB, free: 84 kB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches