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.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.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.001055/0.001055, allocations: 98.19 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.008493/0.008493, allocations: 173.7 kB / 16.27 MB, free: 6.648 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.454/2.454, allocations: 390.9 MB / 0.6663 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003681, allocations: 8 kB / 0.816 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7469/0.7472, allocations: 142.4 MB / 0.955 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2428/0.9901, allocations: 209.2 MB / 1.159 GB, free: 13.46 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01232/1.002, allocations: 7.055 MB / 1.166 GB, free: 6.387 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/1.004, allocations: 39.75 kB / 1.166 GB, free: 6.348 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002066/1.006, allocations: 0.6489 MB / 1.167 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006461/1.013, allocations: 2.373 MB / 1.169 GB, free: 3.312 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00293/1.016, allocations: 1.055 MB / 1.17 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004546/1.02, allocations: 3.757 MB / 1.174 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/1.022, allocations: 0.9064 MB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004053/1.026, allocations: 1.759 MB / 1.177 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/1.028, allocations: 0.9033 MB / 1.177 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001299/1.028, allocations: 48 kB / 1.177 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005184/1.033, allocations: 2.798 MB / 1.18 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004501/1.034, allocations: 354.7 kB / 1.181 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008432/1.034, allocations: 0.6195 MB / 1.181 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003846/1.038, allocations: 2.523 MB / 1.184 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.038, allocations: 0 / 1.184 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.255e-06/1.038, allocations: 0 / 1.184 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.985e-05/1.038, allocations: 0 / 1.184 GB, free: 4.547 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.00448/1.043, allocations: 1.598 MB / 1.185 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.043, allocations: 12.03 kB / 1.185 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003205/1.046, allocations: 0.5916 MB / 1.186 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/1.048, allocations: 0.9641 MB / 1.187 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006799/1.048, allocations: 193.9 kB / 1.187 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/1.049, allocations: 87.98 kB / 1.187 GB, free: 1 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/1.052, allocations: 1.268 MB / 1.188 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/1.052, allocations: 0 / 1.188 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/1.052, allocations: 35.94 kB / 1.188 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.179e-05/1.052, allocations: 53.86 kB / 1.188 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003975/1.056, allocations: 1.616 MB / 1.19 GB, free: 14.02 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.006539/1.062, allocations: 4.088 MB / 1.194 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002672/1.065, allocations: 1.044 MB / 1.195 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/1.067, allocations: 0.6962 MB / 1.196 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/1.068, allocations: 0.6399 MB / 1.196 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/1.068, allocations: 43.22 kB / 1.196 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=76): time 2.976e-06/1.068, allocations: 0 / 1.196 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76): time 0.005196/1.073, allocations: 1.925 MB / 1.198 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/1.073, allocations: 60.06 kB / 1.198 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/1.074, allocations: 0.8193 MB / 1.199 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/1.074, allocations: 45.7 kB / 1.199 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004223/1.075, allocations: 440.5 kB / 1.199 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/1.075, allocations: 264.2 kB / 1.2 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/1.075, allocations: 61.69 kB / 1.2 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001904/1.075, allocations: 337.9 kB / 1.2 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/1.077, allocations: 0.5641 MB / 1.201 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/1.079, allocations: 0.6902 MB / 1.201 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003036/1.082, allocations: 1.205 MB / 1.202 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.082, allocations: 0 / 1.202 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003425/1.085, allocations: 1.415 MB / 1.204 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/1.085, allocations: 148 kB / 1.204 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/1.085, allocations: 4 kB / 1.204 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.085, allocations: 4 kB / 1.204 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/1.087, allocations: 279.6 kB / 1.204 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007258/1.088, allocations: 1.195 MB / 1.205 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/1.089, allocations: 195.3 kB / 1.206 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.293e-05/1.089, allocations: 27.98 kB / 1.206 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/1.089, allocations: 9.5 kB / 1.206 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003281/1.092, allocations: 1.313 MB / 1.207 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/1.092, allocations: 4.062 kB / 1.207 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/1.092, allocations: 7.938 kB / 1.207 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/1.093, allocations: 243.7 kB / 1.207 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/1.093, allocations: 7.984 kB / 1.207 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/1.095, allocations: 187.3 kB / 1.207 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.612e-05/1.095, allocations: 31.98 kB / 1.207 GB, free: 11.45 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.0005781/1.095, allocations: 376.9 kB / 1.208 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/1.095, allocations: 110.6 kB / 1.208 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/1.099, allocations: 1.43 MB / 1.209 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/1.099, allocations: 11.94 kB / 1.209 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.099, allocations: 0 / 1.209 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/1.099, allocations: 7.984 kB / 1.209 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00589/1.105, allocations: 2.925 MB / 1.212 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/1.105, allocations: 8.094 kB / 1.212 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/1.106, allocations: 255.5 kB / 1.212 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/1.106, allocations: 8 kB / 1.212 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-05/1.106, allocations: 23.98 kB / 1.212 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000622/1.107, allocations: 1.192 MB / 1.214 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.107, allocations: 4 kB / 1.214 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003466/1.11, allocations: 1.537 MB / 1.215 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004791/1.111, allocations: 303.6 kB / 1.215 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/1.111, allocations: 27.98 kB / 1.215 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/1.112, allocations: 163.6 kB / 1.216 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/1.113, allocations: 60.42 kB / 1.216 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.73e-05/1.113, allocations: 43.97 kB / 1.216 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007341/1.113, allocations: 0.5739 MB / 1.216 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.31e-07/1.113, allocations: 0 / 1.216 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001338/1.115, allocations: 0.5341 MB / 1.217 GB, free: 1.609 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.000597/1.115, allocations: 268.9 kB / 1.217 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00557/1.121, allocations: 2.131 MB / 1.219 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.121, allocations: 0 / 1.219 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001824/1.123, allocations: 0.7067 MB / 1.22 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00326/1.126, allocations: 0.5147 MB / 1.22 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004745/1.131, allocations: 2.556 MB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006436/1.131, allocations: 1.094 MB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001738/1.133, allocations: 395.5 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003614/1.134, allocations: 87.39 kB / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of SimCode: time 1.673e-06/1.134, allocations: 4 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of Templates: time 0.03633/1.17, allocations: 20.22 MB / 1.244 GB, free: 5.812 MB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches