Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 99.58 kB / 16.02 MB, free: 76 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.001835/0.001835, allocations: 187.7 kB / 16.92 MB, free: 6.746 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.419/1.419, allocations: 223.3 MB / 241 MB, free: 5.355 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.392/2.392, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003487, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7659/0.7663, allocations: 142.4 MB / 0.9557 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2483/1.015, allocations: 209.2 MB / 1.16 GB, free: 13.43 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01368/1.028, allocations: 7.057 MB / 1.167 GB, free: 6.352 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/1.031, allocations: 39.75 kB / 1.167 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002571/1.033, allocations: 0.6528 MB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00778/1.041, allocations: 2.365 MB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003571/1.045, allocations: 1.06 MB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005812/1.05, allocations: 3.764 MB / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002209/1.053, allocations: 0.8986 MB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00518/1.058, allocations: 1.763 MB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002973/1.061, allocations: 0.9001 MB / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004439/1.061, allocations: 52 kB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006134/1.067, allocations: 2.79 MB / 1.181 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007925/1.068, allocations: 354.7 kB / 1.181 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00165/1.07, allocations: 0.6195 MB / 1.182 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003453/1.073, allocations: 1.793 MB / 1.184 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.073, allocations: 0 / 1.184 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.665e-06/1.073, allocations: 0 / 1.184 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.544e-05/1.074, allocations: 0 / 1.184 GB, free: 5.254 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.005497/1.079, allocations: 1.606 MB / 1.185 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/1.079, allocations: 8.031 kB / 1.185 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003557/1.083, allocations: 0.5838 MB / 1.186 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002427/1.085, allocations: 0.9641 MB / 1.187 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008569/1.086, allocations: 201.8 kB / 1.187 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000329/1.086, allocations: 80 kB / 1.187 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003642/1.09, allocations: 1.272 MB / 1.188 GB, free: 440 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/1.09, allocations: 3.984 kB / 1.188 GB, free: 436 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/1.09, allocations: 32 kB / 1.188 GB, free: 404 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.301e-05/1.09, allocations: 49.92 kB / 1.188 GB, free: 352 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004348/1.095, allocations: 1.616 MB / 1.19 GB, free: 14.73 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.008169/1.103, allocations: 4.084 MB / 1.194 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/1.106, allocations: 1.056 MB / 1.195 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/1.108, allocations: 0.7001 MB / 1.196 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/1.109, allocations: 0.6399 MB / 1.196 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/1.109, allocations: 43.22 kB / 1.196 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=76): time 3.046e-06/1.109, allocations: 0 / 1.196 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76): time 0.005649/1.115, allocations: 1.918 MB / 1.198 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/1.115, allocations: 64 kB / 1.198 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/1.116, allocations: 0.8232 MB / 1.199 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/1.116, allocations: 41.7 kB / 1.199 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004029/1.117, allocations: 444.5 kB / 1.199 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.00027/1.117, allocations: 264.2 kB / 1.2 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/1.117, allocations: 57.69 kB / 1.2 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.117, allocations: 337.9 kB / 1.2 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/1.119, allocations: 0.5602 MB / 1.201 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/1.12, allocations: 0.6863 MB / 1.201 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003186/1.124, allocations: 1.209 MB / 1.202 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.124, allocations: 0 / 1.202 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00389/1.128, allocations: 1.419 MB / 1.204 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/1.128, allocations: 147.9 kB / 1.204 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.128, allocations: 0 / 1.204 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/1.128, allocations: 8.062 kB / 1.204 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/1.129, allocations: 283.6 kB / 1.204 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008624/1.13, allocations: 1.192 MB / 1.205 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/1.132, allocations: 199.2 kB / 1.206 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/1.132, allocations: 35.97 kB / 1.206 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/1.132, allocations: 7.938 kB / 1.206 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003579/1.136, allocations: 1.305 MB / 1.207 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.136, allocations: 4 kB / 1.207 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/1.136, allocations: 4 kB / 1.207 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/1.137, allocations: 243.8 kB / 1.207 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/1.137, allocations: 4 kB / 1.207 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/1.138, allocations: 183.3 kB / 1.207 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.436e-05/1.138, allocations: 31.98 kB / 1.207 GB, free: 12.16 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.0007102/1.139, allocations: 384.8 kB / 1.208 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003108/1.139, allocations: 106.6 kB / 1.208 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003946/1.143, allocations: 1.433 MB / 1.209 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/1.143, allocations: 8 kB / 1.209 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/1.143, allocations: 0 / 1.209 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/1.143, allocations: 3.984 kB / 1.209 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006564/1.15, allocations: 2.933 MB / 1.212 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/1.15, allocations: 4 kB / 1.212 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/1.151, allocations: 255.9 kB / 1.212 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.057e-05/1.152, allocations: 4 kB / 1.212 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.336e-05/1.152, allocations: 27.98 kB / 1.212 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007295/1.152, allocations: 1.192 MB / 1.214 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.152, allocations: 7.938 kB / 1.214 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/1.156, allocations: 1.541 MB / 1.215 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007191/1.157, allocations: 303.6 kB / 1.215 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/1.157, allocations: 20 kB / 1.215 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/1.159, allocations: 167.6 kB / 1.216 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/1.159, allocations: 60.42 kB / 1.216 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.632e-05/1.159, allocations: 39.97 kB / 1.216 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009167/1.16, allocations: 0.5777 MB / 1.216 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.16, allocations: 0 / 1.216 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001625/1.162, allocations: 0.5341 MB / 1.217 GB, free: 2.312 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.000722/1.162, allocations: 266.1 kB / 1.217 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006156/1.169, allocations: 2.135 MB / 1.219 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/1.169, allocations: 4 kB / 1.219 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002026/1.171, allocations: 0.7027 MB / 1.22 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003783/1.174, allocations: 0.5178 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005494/1.18, allocations: 2.613 MB / 1.223 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008247/1.181, allocations: 1.091 MB / 1.224 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005889/1.181, allocations: 99.39 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of SimCode: time 2.745e-06/1.181, allocations: 0 / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.03785/1.219, allocations: 26.76 MB / 1.25 GB, free: 120 kB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches