Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001082/0.001082, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001484/0.001484, allocations: 172.7 kB / 15.95 MB, free: 208 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.376/1.376, allocations: 223.3 MB / 240 MB, free: 5.355 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.66/2.66, allocations: 437.7 MB / 0.7117 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003344, allocations: 12 kB / 0.8722 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5972/0.5976, allocations: 153.8 MB / 1.022 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.1881/0.7857, allocations: 195.2 MB / 1.213 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009706/0.7954, allocations: 6.629 MB / 1.219 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009953/0.7964, allocations: 39.69 kB / 1.22 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.7978, allocations: 0.4928 MB / 1.22 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004393/0.8022, allocations: 1.804 MB / 1.222 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002334/0.8046, allocations: 0.9007 MB / 1.223 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003486/0.8081, allocations: 3.198 MB / 1.226 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.8093, allocations: 0.7961 MB / 1.227 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00314/0.8125, allocations: 1.525 MB / 1.228 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.8137, allocations: 0.8677 MB / 1.229 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.8139, allocations: 48 kB / 1.229 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003126/0.817, allocations: 1.532 MB / 1.23 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003618/0.8174, allocations: 342.8 kB / 1.231 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003185/0.8177, allocations: 277 kB / 1.231 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.8197, allocations: 1.719 MB / 1.233 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8197, allocations: 0 / 1.233 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8198, allocations: 0 / 1.233 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.864e-05/0.8198, allocations: 0 / 1.233 GB, free: 8.223 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.003928/0.8237, allocations: 1.61 MB / 1.234 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.8238, allocations: 8.031 kB / 1.234 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003027/0.8268, allocations: 0.5838 MB / 1.235 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.8285, allocations: 0.9336 MB / 1.236 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005709/0.829, allocations: 197.8 kB / 1.236 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.8292, allocations: 84 kB / 1.236 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002631/0.8318, allocations: 1.26 MB / 1.237 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.8319, allocations: 7.984 kB / 1.237 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.832, allocations: 35.98 kB / 1.237 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.92e-05/0.832, allocations: 45.98 kB / 1.237 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003597/0.8356, allocations: 1.616 MB / 1.239 GB, free: 1.734 MB / 0.9825 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.4886/1.324, allocations: 4.07 MB / 1.243 GB, free: 215.8 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00256/1.327, allocations: 1.05 MB / 1.244 GB, free: 215.7 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/1.328, allocations: 0.6981 MB / 1.245 GB, free: 215.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009966/1.329, allocations: 0.6353 MB / 1.245 GB, free: 214.9 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/1.329, allocations: 42.36 kB / 1.245 GB, free: 214.9 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=76): time 3.045e-06/1.329, allocations: 0.75 kB / 1.245 GB, free: 214.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76): time 0.005065/1.335, allocations: 1.917 MB / 1.247 GB, free: 214.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/1.335, allocations: 60.44 kB / 1.247 GB, free: 214.3 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/1.336, allocations: 0.8126 MB / 1.248 GB, free: 213.9 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/1.336, allocations: 43.17 kB / 1.248 GB, free: 213.9 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/1.336, allocations: 442.4 kB / 1.248 GB, free: 213.6 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/1.336, allocations: 263.7 kB / 1.249 GB, free: 213.4 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/1.336, allocations: 15.12 kB / 1.249 GB, free: 213.4 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 6.706e-05/1.337, allocations: 333 kB / 1.249 GB, free: 213.1 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/1.338, allocations: 0.5589 MB / 1.25 GB, free: 212.9 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/1.34, allocations: 0.682 MB / 1.25 GB, free: 212.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/1.341, allocations: 0.6165 MB / 1.251 GB, free: 212.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.341, allocations: 0.6562 kB / 1.251 GB, free: 212.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003741/1.345, allocations: 1.405 MB / 1.252 GB, free: 212 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.385e-05/1.345, allocations: 154.6 kB / 1.252 GB, free: 211.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/1.345, allocations: 2.188 kB / 1.252 GB, free: 211.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/1.345, allocations: 4.859 kB / 1.252 GB, free: 211.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/1.347, allocations: 274.9 kB / 1.253 GB, free: 211.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004699/1.347, allocations: 1.192 MB / 1.254 GB, free: 210.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.348, allocations: 194.4 kB / 1.254 GB, free: 210.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.873e-05/1.349, allocations: 33.03 kB / 1.254 GB, free: 210.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/1.349, allocations: 3.406 kB / 1.254 GB, free: 210.5 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003027/1.352, allocations: 1.303 MB / 1.255 GB, free: 210.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.352, allocations: 1.125 kB / 1.255 GB, free: 210.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/1.352, allocations: 8.797 kB / 1.255 GB, free: 210.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/1.353, allocations: 248.5 kB / 1.256 GB, free: 210.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/1.353, allocations: 4.453 kB / 1.256 GB, free: 210.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/1.354, allocations: 191.5 kB / 1.256 GB, free: 210 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.561e-05/1.354, allocations: 35.41 kB / 1.256 GB, free: 210 MB / 0.9825 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.000554/1.355, allocations: 376.8 kB / 1.256 GB, free: 209.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/1.355, allocations: 103.1 kB / 1.256 GB, free: 209.7 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003371/1.358, allocations: 1.431 MB / 1.258 GB, free: 209.2 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/1.358, allocations: 8.406 kB / 1.258 GB, free: 209.2 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.358, allocations: 3.938 kB / 1.258 GB, free: 209.2 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/1.358, allocations: 3.516 kB / 1.258 GB, free: 209.2 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005378/1.364, allocations: 2.923 MB / 1.26 GB, free: 207.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/1.364, allocations: 4.328 kB / 1.26 GB, free: 207.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/1.365, allocations: 259 kB / 1.261 GB, free: 207.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.326e-05/1.365, allocations: 11.06 kB / 1.261 GB, free: 207.9 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.11e-05/1.365, allocations: 23.14 kB / 1.261 GB, free: 207.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003562/1.365, allocations: 1.193 MB / 1.262 GB, free: 206.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.365, allocations: 9.5 kB / 1.262 GB, free: 206.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003073/1.368, allocations: 1.531 MB / 1.263 GB, free: 206 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004788/1.369, allocations: 318 kB / 1.264 GB, free: 205.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/1.369, allocations: 20.05 kB / 1.264 GB, free: 205.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/1.37, allocations: 166.9 kB / 1.264 GB, free: 205.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/1.37, allocations: 57.97 kB / 1.264 GB, free: 205.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.661e-05/1.37, allocations: 34.14 kB / 1.264 GB, free: 205.7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007319/1.371, allocations: 0.5665 MB / 1.265 GB, free: 205.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/1.371, allocations: 0 / 1.265 GB, free: 205.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001432/1.373, allocations: 0.5461 MB / 1.265 GB, free: 205.4 MB / 0.9825 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.0005693/1.373, allocations: 273.2 kB / 1.265 GB, free: 205.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004819/1.378, allocations: 2.125 MB / 1.267 GB, free: 204.6 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.378, allocations: 0 / 1.267 GB, free: 204.6 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/1.38, allocations: 0.7059 MB / 1.268 GB, free: 204.4 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/1.382, allocations: 0.5222 MB / 1.269 GB, free: 204.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/1.386, allocations: 2.478 MB / 1.271 GB, free: 202.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/1.386, allocations: 1.1 MB / 1.272 GB, free: 201.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001539/1.387, allocations: 397 kB / 1.272 GB, free: 201.6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000326/1.388, allocations: 85.41 kB / 1.273 GB, free: 201.6 MB / 0.9825 GB Notification: Performance of SimCode: time 6.51e-07/1.388, allocations: 3.906 kB / 1.273 GB, free: 201.6 MB / 0.9825 GB Notification: Performance of Templates: time 0.02615/1.414, allocations: 19.64 MB / 1.292 GB, free: 183 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches