Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.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.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008197/0.0008196, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009703/0.0009703, allocations: 182.5 kB / 16.92 MB, free: 6.922 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.443/1.443, allocations: 223.3 MB / 241 MB, free: 5.336 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.556/2.556, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004176, allocations: 12 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8083/0.8087, allocations: 142.4 MB / 0.9557 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.2208/1.03, allocations: 195 MB / 1.146 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01204/1.042, allocations: 7.651 MB / 1.154 GB, free: 3.969 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/1.043, allocations: 43.69 kB / 1.154 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/1.045, allocations: 0.5633 MB / 1.154 GB, free: 3.359 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005688/1.051, allocations: 1.875 MB / 1.156 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003102/1.054, allocations: 1.024 MB / 1.157 GB, free: 476 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004744/1.059, allocations: 3.468 MB / 1.16 GB, free: 12.99 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/1.06, allocations: 0.8036 MB / 1.161 GB, free: 12.17 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003554/1.064, allocations: 1.358 MB / 1.163 GB, free: 10.8 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001933/1.066, allocations: 0.7986 MB / 1.163 GB, free: 10 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001652/1.066, allocations: 44 kB / 1.163 GB, free: 9.961 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003863/1.07, allocations: 1.968 MB / 1.165 GB, free: 7.988 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003942/1.07, allocations: 262.9 kB / 1.166 GB, free: 7.73 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000861/1.071, allocations: 0.5573 MB / 1.166 GB, free: 7.164 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0023/1.074, allocations: 1.543 MB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.074, allocations: 0 / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.475e-06/1.074, allocations: 0 / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.555e-05/1.074, allocations: 0 / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003553/1.077, allocations: 1.463 MB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/1.077, allocations: 16.03 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/1.08, allocations: 474.2 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/1.081, allocations: 0.9213 MB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006601/1.082, allocations: 189.8 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/1.082, allocations: 68 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/1.085, allocations: 1.13 MB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/1.085, allocations: 0 / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.58e-05/1.085, allocations: 27.98 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.625e-05/1.085, allocations: 34 kB / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003363/1.088, allocations: 1.28 MB / 1.173 GB, free: 15.91 MB / 0.9356 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.006931/1.095, allocations: 4.15 MB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002711/1.098, allocations: 0.9323 MB / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/1.1, allocations: 0.5373 MB / 1.179 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008661/1.1, allocations: 0.6487 MB / 1.179 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001691/1.102, allocations: 0.6382 MB / 1.18 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=57): time 3.967e-06/1.102, allocations: 0 / 1.18 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of matching and sorting (n=57): time 0.00465/1.107, allocations: 1.528 MB / 1.181 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/1.107, allocations: 85.61 kB / 1.181 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/1.108, allocations: 0.8473 MB / 1.182 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-05/1.108, allocations: 41.64 kB / 1.182 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/1.109, allocations: 424.5 kB / 1.183 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/1.109, allocations: 197.1 kB / 1.183 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-05/1.109, allocations: 45.7 kB / 1.183 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.109, allocations: 326 kB / 1.183 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/1.11, allocations: 456.8 kB / 1.184 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/1.112, allocations: 0.5742 MB / 1.184 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002654/1.114, allocations: 0.9671 MB / 1.185 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.114, allocations: 0 / 1.185 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00328/1.118, allocations: 1.155 MB / 1.186 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/1.118, allocations: 168.1 kB / 1.186 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.118, allocations: 4 kB / 1.186 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/1.118, allocations: 4 kB / 1.186 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/1.119, allocations: 247.7 kB / 1.187 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007532/1.12, allocations: 1.195 MB / 1.188 GB, free: 100 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/1.122, allocations: 191.3 kB / 1.188 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.001e-05/1.122, allocations: 27.97 kB / 1.188 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/1.122, allocations: 4 kB / 1.188 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002949/1.125, allocations: 1.041 MB / 1.189 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.125, allocations: 0 / 1.189 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.188e-06/1.125, allocations: 4 kB / 1.189 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.126, allocations: 219.9 kB / 1.189 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/1.126, allocations: 4 kB / 1.189 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/1.127, allocations: 183.4 kB / 1.189 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.964e-05/1.127, allocations: 23.98 kB / 1.189 GB, free: 14.41 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * 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.0007079/1.128, allocations: 350.7 kB / 1.19 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/1.128, allocations: 98.78 kB / 1.19 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00335/1.131, allocations: 1.21 MB / 1.191 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/1.131, allocations: 8 kB / 1.191 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.131, allocations: 0 / 1.191 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/1.132, allocations: 3.984 kB / 1.191 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005166/1.137, allocations: 2.407 MB / 1.193 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/1.137, allocations: 3.938 kB / 1.193 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/1.138, allocations: 224.1 kB / 1.194 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/1.138, allocations: 7.984 kB / 1.194 GB, free: 10 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-05/1.138, allocations: 19.98 kB / 1.194 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000623/1.139, allocations: 1.199 MB / 1.195 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.139, allocations: 4 kB / 1.195 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003161/1.142, allocations: 1.286 MB / 1.196 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005677/1.142, allocations: 299.5 kB / 1.196 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/1.142, allocations: 19.94 kB / 1.196 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/1.144, allocations: 155.8 kB / 1.197 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/1.144, allocations: 60.36 kB / 1.197 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.88e-05/1.144, allocations: 35.97 kB / 1.197 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007914/1.145, allocations: 0.5781 MB / 1.197 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/1.145, allocations: 0 / 1.197 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001339/1.146, allocations: 491 kB / 1.198 GB, free: 5.742 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.0006882/1.147, allocations: 294.4 kB / 1.198 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0049/1.152, allocations: 1.731 MB / 1.2 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.152, allocations: 4 kB / 1.2 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001674/1.153, allocations: 0.5925 MB / 1.2 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002978/1.156, allocations: 469.2 kB / 1.201 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/1.161, allocations: 2.345 MB / 1.203 GB, free: 236 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/1.162, allocations: 1.035 MB / 1.204 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/1.162, allocations: 91.39 kB / 1.204 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of SimCode: time 2.545e-06/1.162, allocations: 4 kB / 1.204 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of Templates: time 0.03293/1.195, allocations: 25.13 MB / 1.229 GB, free: 6.043 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,hex.sta_a1.T,hex.sta_b1.T,hex.sta_a2.T,hex.sta_b2.T,hex.Q1_flow,hex.Q2_flow,hex.m1_flow,hex.m2_flow Variables in the result:hex.Q1_flow,hex.Q2_flow,hex.m1_flow,hex.m2_flow,hex.sta_a1.T,hex.sta_a2.T,hex.sta_b1.T,hex.sta_b2.T,time