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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0008709/0.0008711, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006649/0.00665, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.469/1.469, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.542/2.542, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003392, allocations: 8 kB / 0.816 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8445/0.8448, allocations: 142.4 MB / 0.955 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.2327/1.078, allocations: 209.3 MB / 1.159 GB, free: 13.39 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01364/1.091, allocations: 7.055 MB / 1.166 GB, free: 6.316 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/1.093, allocations: 43.75 kB / 1.166 GB, free: 6.273 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002273/1.095, allocations: 0.6488 MB / 1.167 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007668/1.103, allocations: 2.366 MB / 1.169 GB, free: 3.246 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003503/1.107, allocations: 1.053 MB / 1.17 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005419/1.112, allocations: 3.76 MB / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/1.114, allocations: 0.8986 MB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00481/1.118, allocations: 1.763 MB / 1.177 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002351/1.121, allocations: 0.9065 MB / 1.177 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001616/1.121, allocations: 52 kB / 1.177 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005523/1.127, allocations: 2.798 MB / 1.18 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005666/1.127, allocations: 350.7 kB / 1.181 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001/1.128, allocations: 0.6195 MB / 1.181 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004238/1.132, allocations: 2.527 MB / 1.184 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/1.132, allocations: 0 / 1.184 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.543e-06/1.132, allocations: 0 / 1.184 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.634e-05/1.132, allocations: 0 / 1.184 GB, free: 4.473 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.004494/1.137, allocations: 1.595 MB / 1.185 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.137, allocations: 12.03 kB / 1.185 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003393/1.14, allocations: 0.5838 MB / 1.186 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/1.142, allocations: 0.968 MB / 1.187 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006933/1.143, allocations: 189.9 kB / 1.187 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/1.143, allocations: 87.94 kB / 1.187 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/1.146, allocations: 1.268 MB / 1.188 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/1.146, allocations: 0 / 1.188 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/1.146, allocations: 35.91 kB / 1.188 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.068e-05/1.147, allocations: 49.92 kB / 1.188 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004127/1.151, allocations: 1.62 MB / 1.19 GB, free: 13.96 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.007036/1.158, allocations: 4.091 MB / 1.194 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/1.16, allocations: 1.048 MB / 1.195 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/1.162, allocations: 0.7001 MB / 1.196 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/1.164, allocations: 0.6438 MB / 1.196 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/1.164, allocations: 39.22 kB / 1.196 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=76): time 2.445e-06/1.164, allocations: 0 / 1.196 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76): time 0.005391/1.169, allocations: 1.918 MB / 1.198 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/1.169, allocations: 60.05 kB / 1.198 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/1.17, allocations: 0.8193 MB / 1.199 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/1.17, allocations: 45.7 kB / 1.199 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005011/1.171, allocations: 448.5 kB / 1.199 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004371/1.171, allocations: 260.2 kB / 1.2 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/1.171, allocations: 61.69 kB / 1.2 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.172, allocations: 333.9 kB / 1.2 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/1.173, allocations: 0.5679 MB / 1.201 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/1.175, allocations: 0.6863 MB / 1.201 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003021/1.178, allocations: 1.209 MB / 1.202 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.178, allocations: 0 / 1.202 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003593/1.181, allocations: 1.415 MB / 1.204 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/1.182, allocations: 147.8 kB / 1.204 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.182, allocations: 4 kB / 1.204 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/1.182, allocations: 8.062 kB / 1.204 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/1.183, allocations: 271.6 kB / 1.204 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/1.184, allocations: 1.192 MB / 1.205 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/1.186, allocations: 199.2 kB / 1.206 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.143e-05/1.186, allocations: 27.98 kB / 1.206 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/1.186, allocations: 9.344 kB / 1.206 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003416/1.189, allocations: 1.313 MB / 1.207 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.189, allocations: 0 / 1.207 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.854e-06/1.189, allocations: 4 kB / 1.207 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/1.191, allocations: 243.8 kB / 1.207 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/1.191, allocations: 4 kB / 1.207 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/1.192, allocations: 195.3 kB / 1.207 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.152e-05/1.192, allocations: 31.98 kB / 1.207 GB, free: 11.39 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.0006247/1.193, allocations: 382.3 kB / 1.208 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/1.193, allocations: 110.6 kB / 1.208 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003727/1.197, allocations: 1.429 MB / 1.209 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/1.197, allocations: 8 kB / 1.209 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.197, allocations: 0 / 1.209 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/1.197, allocations: 7.984 kB / 1.209 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006149/1.203, allocations: 2.933 MB / 1.212 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/1.203, allocations: 4 kB / 1.212 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/1.204, allocations: 252 kB / 1.212 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.605e-05/1.204, allocations: 8 kB / 1.212 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-05/1.204, allocations: 27.97 kB / 1.212 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007813/1.205, allocations: 1.192 MB / 1.214 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/1.205, allocations: 7.938 kB / 1.214 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003691/1.209, allocations: 1.541 MB / 1.215 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/1.209, allocations: 303.6 kB / 1.215 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/1.209, allocations: 23.98 kB / 1.215 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.211, allocations: 167.6 kB / 1.216 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/1.211, allocations: 68.41 kB / 1.216 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.054e-05/1.211, allocations: 39.97 kB / 1.216 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009816/1.212, allocations: 0.57 MB / 1.216 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.71e-07/1.212, allocations: 0 / 1.216 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001597/1.214, allocations: 0.5341 MB / 1.217 GB, free: 1.539 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.0007291/1.214, allocations: 270 kB / 1.217 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005668/1.22, allocations: 2.123 MB / 1.219 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.22, allocations: 0 / 1.219 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001822/1.222, allocations: 0.7144 MB / 1.22 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003221/1.225, allocations: 0.5135 MB / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004823/1.23, allocations: 2.562 MB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008655/1.231, allocations: 1.087 MB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001656/1.233, allocations: 395.5 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/1.233, allocations: 91.39 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of SimCode: time 1.794e-06/1.233, allocations: 0 / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of Templates: time 0.03501/1.268, allocations: 20.23 MB / 1.244 GB, free: 5.742 MB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches