Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.0008888/0.0008889, allocations: 90.75 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.001012/0.001012, 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.37/1.37, allocations: 223.3 MB / 240 MB, free: 5.301 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.628/2.628, allocations: 437.7 MB / 0.7117 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003492, allocations: 12 kB / 0.8722 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6186/0.619, allocations: 153.8 MB / 1.022 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.201/0.8201, allocations: 195.2 MB / 1.213 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009952/0.8301, allocations: 6.637 MB / 1.219 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.8313, allocations: 39.69 kB / 1.22 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.8329, allocations: 0.4928 MB / 1.22 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004882/0.8378, allocations: 1.807 MB / 1.222 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.8404, allocations: 0.8906 MB / 1.223 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004143/0.8446, allocations: 3.206 MB / 1.226 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.8459, allocations: 0.7882 MB / 1.227 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003553/0.8495, allocations: 1.529 MB / 1.228 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.851, allocations: 0.8677 MB / 1.229 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.8512, allocations: 44 kB / 1.229 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0043/0.8555, allocations: 1.54 MB / 1.23 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004634/0.856, allocations: 342.8 kB / 1.231 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004675/0.8564, allocations: 273 kB / 1.231 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002445/0.8589, allocations: 1.707 MB / 1.233 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.8589, allocations: 4 kB / 1.233 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.485e-06/0.8589, allocations: 0 / 1.233 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.859, allocations: 4 kB / 1.233 GB, free: 8.254 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.004161/0.8631, allocations: 1.61 MB / 1.234 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.8632, allocations: 12.03 kB / 1.234 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002904/0.8661, allocations: 0.5839 MB / 1.235 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.8678, allocations: 0.9336 MB / 1.236 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005691/0.8683, allocations: 201.8 kB / 1.236 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.8685, allocations: 80 kB / 1.236 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002615/0.8711, allocations: 1.264 MB / 1.237 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.8711, allocations: 0 / 1.237 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.8712, allocations: 36 kB / 1.237 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.502e-05/0.8713, allocations: 45.98 kB / 1.237 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003604/0.8749, allocations: 1.608 MB / 1.239 GB, free: 1.773 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.5025/1.377, allocations: 4.083 MB / 1.243 GB, free: 216 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002733/1.38, allocations: 1.046 MB / 1.244 GB, free: 215.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/1.382, allocations: 0.6995 MB / 1.245 GB, free: 215.6 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/1.383, allocations: 0.6381 MB / 1.245 GB, free: 215 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/1.383, allocations: 45.97 kB / 1.245 GB, free: 215 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=76): time 3.056e-06/1.383, allocations: 0 / 1.245 GB, free: 215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76): time 0.005415/1.388, allocations: 1.916 MB / 1.247 GB, free: 214.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/1.388, allocations: 59.25 kB / 1.247 GB, free: 214.4 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/1.39, allocations: 0.8091 MB / 1.248 GB, free: 214 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/1.39, allocations: 48.19 kB / 1.248 GB, free: 214 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003638/1.39, allocations: 439.7 kB / 1.248 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/1.391, allocations: 263.5 kB / 1.249 GB, free: 213.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/1.391, allocations: 16.16 kB / 1.249 GB, free: 213.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.93e-05/1.391, allocations: 337 kB / 1.249 GB, free: 213.2 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/1.392, allocations: 0.5587 MB / 1.25 GB, free: 213 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/1.394, allocations: 0.6816 MB / 1.25 GB, free: 212.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/1.396, allocations: 0.6141 MB / 1.251 GB, free: 212.6 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.396, allocations: 0 / 1.251 GB, free: 212.6 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003902/1.399, allocations: 1.404 MB / 1.252 GB, free: 212.1 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.195e-05/1.4, allocations: 155.3 kB / 1.252 GB, free: 211.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.4, allocations: 1.094 kB / 1.252 GB, free: 211.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/1.4, allocations: 3.875 kB / 1.252 GB, free: 211.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/1.401, allocations: 271.4 kB / 1.253 GB, free: 211.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005541/1.402, allocations: 1.189 MB / 1.254 GB, free: 210.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/1.403, allocations: 203.8 kB / 1.254 GB, free: 210.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.912e-05/1.403, allocations: 31.59 kB / 1.254 GB, free: 210.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/1.403, allocations: 4.188 kB / 1.254 GB, free: 210.6 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003054/1.406, allocations: 1.301 MB / 1.255 GB, free: 210.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/1.406, allocations: 2.078 kB / 1.255 GB, free: 210.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/1.406, allocations: 3.469 kB / 1.255 GB, free: 210.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/1.408, allocations: 249.3 kB / 1.256 GB, free: 210.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/1.408, allocations: 4.812 kB / 1.256 GB, free: 210.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/1.409, allocations: 197.6 kB / 1.256 GB, free: 210.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.363e-05/1.409, allocations: 32.69 kB / 1.256 GB, free: 210.1 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.0006058/1.41, allocations: 371.7 kB / 1.256 GB, free: 209.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/1.41, allocations: 109.2 kB / 1.256 GB, free: 209.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003413/1.413, allocations: 1.433 MB / 1.258 GB, free: 209.3 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/1.413, allocations: 8.703 kB / 1.258 GB, free: 209.3 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.413, allocations: 11.78 kB / 1.258 GB, free: 209.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/1.413, allocations: 7.031 kB / 1.258 GB, free: 209.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005539/1.419, allocations: 2.921 MB / 1.26 GB, free: 208 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/1.419, allocations: 4.719 kB / 1.26 GB, free: 208 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/1.42, allocations: 249.7 kB / 1.261 GB, free: 208 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.57e-05/1.42, allocations: 8 kB / 1.261 GB, free: 208 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.087e-05/1.42, allocations: 22.91 kB / 1.261 GB, free: 208 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000381/1.421, allocations: 1.197 MB / 1.262 GB, free: 206.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/1.421, allocations: 8.062 kB / 1.262 GB, free: 206.8 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003176/1.424, allocations: 1.529 MB / 1.263 GB, free: 206.1 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005678/1.424, allocations: 312.3 kB / 1.264 GB, free: 205.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/1.425, allocations: 20.58 kB / 1.264 GB, free: 205.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/1.426, allocations: 163.7 kB / 1.264 GB, free: 205.9 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/1.426, allocations: 61.12 kB / 1.264 GB, free: 205.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.67e-05/1.426, allocations: 37.14 kB / 1.264 GB, free: 205.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007815/1.427, allocations: 0.567 MB / 1.265 GB, free: 205.6 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/1.427, allocations: 0 / 1.265 GB, free: 205.6 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001507/1.428, allocations: 0.5417 MB / 1.265 GB, free: 205.5 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.000578/1.429, allocations: 271.9 kB / 1.265 GB, free: 205.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004897/1.434, allocations: 2.123 MB / 1.267 GB, free: 204.7 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.434, allocations: 0 / 1.267 GB, free: 204.7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001509/1.435, allocations: 0.7073 MB / 1.268 GB, free: 204.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/1.438, allocations: 0.5249 MB / 1.269 GB, free: 204.3 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/1.442, allocations: 2.476 MB / 1.271 GB, free: 202.8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/1.442, allocations: 1.095 MB / 1.272 GB, free: 201.9 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001621/1.444, allocations: 394.5 kB / 1.272 GB, free: 201.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/1.444, allocations: 92.02 kB / 1.273 GB, free: 201.7 MB / 0.9825 GB Notification: Performance of SimCode: time 9.31e-07/1.444, allocations: 0 / 1.273 GB, free: 201.7 MB / 0.9825 GB Notification: Performance of Templates: time 0.02801/1.472, allocations: 19.64 MB / 1.292 GB, free: 183.1 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches