Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001095/0.001095, allocations: 98.88 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.001409/0.001409, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.421/1.421, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.682/2.682, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003634, allocations: 12.34 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3588, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.2208/0.5797, allocations: 195 MB / 1.25 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7965/1.376, allocations: 7.645 MB / 1.257 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/1.378, allocations: 35.62 kB / 1.257 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001764/1.38, allocations: 0.566 MB / 1.258 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006119/1.386, allocations: 1.88 MB / 1.26 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003441/1.389, allocations: 1.019 MB / 1.261 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005004/1.394, allocations: 3.468 MB / 1.264 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/1.396, allocations: 0.8067 MB / 1.265 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003326/1.399, allocations: 1.365 MB / 1.266 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/1.401, allocations: 0.7948 MB / 1.267 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000136/1.401, allocations: 41.09 kB / 1.267 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00467/1.406, allocations: 1.975 MB / 1.269 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004677/1.406, allocations: 260.6 kB / 1.269 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001244/1.408, allocations: 0.5606 MB / 1.27 GB, free: 18.64 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003292/1.411, allocations: 1.544 MB / 1.271 GB, free: 18.52 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.411, allocations: 0 / 1.271 GB, free: 18.52 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.595e-06/1.411, allocations: 1.406 kB / 1.271 GB, free: 18.52 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.826e-05/1.411, allocations: 0 / 1.271 GB, free: 18.52 MB / 1.014 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.00429/1.415, allocations: 1.465 MB / 1.273 GB, free: 17.67 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/1.415, allocations: 13.62 kB / 1.273 GB, free: 17.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002622/1.418, allocations: 482.5 kB / 1.273 GB, free: 17.58 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/1.42, allocations: 0.9055 MB / 1.274 GB, free: 17.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007205/1.421, allocations: 199 kB / 1.274 GB, free: 17.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/1.421, allocations: 69.88 kB / 1.274 GB, free: 17.22 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003079/1.424, allocations: 1.132 MB / 1.275 GB, free: 17.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/1.424, allocations: 0.5625 kB / 1.275 GB, free: 17.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/1.424, allocations: 30.22 kB / 1.275 GB, free: 17.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.119e-05/1.424, allocations: 31.17 kB / 1.275 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004321/1.429, allocations: 1.274 MB / 1.277 GB, free: 17.07 MB / 1.014 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.007536/1.436, allocations: 4.158 MB / 1.281 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/1.439, allocations: 0.9404 MB / 1.282 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/1.441, allocations: 0.5329 MB / 1.282 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00089/1.441, allocations: 0.6518 MB / 1.283 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001671/1.443, allocations: 0.6416 MB / 1.283 GB, free: 14.39 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 2.845e-06/1.443, allocations: 1 kB / 1.283 GB, free: 14.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.004734/1.448, allocations: 1.522 MB / 1.285 GB, free: 14.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/1.448, allocations: 88.08 kB / 1.285 GB, free: 14.16 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/1.449, allocations: 0.8434 MB / 1.286 GB, free: 14.01 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.952e-05/1.449, allocations: 38.36 kB / 1.286 GB, free: 13.98 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/1.45, allocations: 426.7 kB / 1.286 GB, free: 13.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/1.45, allocations: 199.1 kB / 1.286 GB, free: 13.7 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.822e-05/1.45, allocations: 46.62 kB / 1.286 GB, free: 13.68 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.45, allocations: 325.1 kB / 1.287 GB, free: 13.38 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/1.452, allocations: 455.4 kB / 1.287 GB, free: 13.36 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/1.453, allocations: 0.5672 MB / 1.288 GB, free: 13.24 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002933/1.456, allocations: 0.9671 MB / 1.289 GB, free: 13.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.456, allocations: 4.969 kB / 1.289 GB, free: 13.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.004106/1.46, allocations: 1.146 MB / 1.29 GB, free: 12.96 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002173/1.461, allocations: 168.9 kB / 1.29 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/1.461, allocations: 1.312 kB / 1.29 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-05/1.461, allocations: 11.92 kB / 1.29 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/1.462, allocations: 249.5 kB / 1.29 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009962/1.463, allocations: 1.19 MB / 1.291 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/1.465, allocations: 190.1 kB / 1.292 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/1.465, allocations: 28.94 kB / 1.292 GB, free: 11.55 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/1.465, allocations: 12.16 kB / 1.292 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003318/1.469, allocations: 1.036 MB / 1.293 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.469, allocations: 1.875 kB / 1.293 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/1.469, allocations: 8.5 kB / 1.293 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/1.47, allocations: 217.6 kB / 1.293 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/1.47, allocations: 3.75 kB / 1.293 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/1.472, allocations: 185.9 kB / 1.293 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/1.472, allocations: 32.81 kB / 1.293 GB, free: 11.41 MB / 1.014 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.0009596/1.473, allocations: 336.4 kB / 1.293 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004402/1.473, allocations: 96.16 kB / 1.294 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004009/1.477, allocations: 1.213 MB / 1.295 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/1.477, allocations: 6.906 kB / 1.295 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/1.477, allocations: 1.375 kB / 1.295 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/1.477, allocations: 10.19 kB / 1.295 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007256/1.485, allocations: 2.398 MB / 1.297 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/1.485, allocations: 3.375 kB / 1.297 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/1.486, allocations: 222.1 kB / 1.297 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.942e-05/1.486, allocations: 5.469 kB / 1.297 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.729e-05/1.486, allocations: 19.17 kB / 1.297 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008826/1.487, allocations: 1.196 MB / 1.298 GB, free: 9.434 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.487, allocations: 2.719 kB / 1.298 GB, free: 9.434 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003996/1.491, allocations: 1.303 MB / 1.3 GB, free: 9.109 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.492, allocations: 292.2 kB / 1.3 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004531/1.492, allocations: 15.67 kB / 1.3 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001939/1.494, allocations: 159.7 kB / 1.3 GB, free: 8.938 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/1.495, allocations: 57.45 kB / 1.3 GB, free: 8.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/1.495, allocations: 33.59 kB / 1.3 GB, free: 8.926 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001786/1.497, allocations: 0.5869 MB / 1.301 GB, free: 8.816 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.31e-07/1.497, allocations: 0 / 1.301 GB, free: 8.816 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003368/1.5, allocations: 484.2 kB / 1.301 GB, free: 8.762 MB / 1.014 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.001448/1.502, allocations: 298.1 kB / 1.302 GB, free: 8.625 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005717/1.507, allocations: 1.729 MB / 1.303 GB, free: 8.441 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/1.507, allocations: 2.656 kB / 1.303 GB, free: 8.441 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001716/1.509, allocations: 0.5914 MB / 1.304 GB, free: 8.418 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003559/1.513, allocations: 463.6 kB / 1.304 GB, free: 8.383 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005345/1.518, allocations: 2.353 MB / 1.307 GB, free: 7.23 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008262/1.519, allocations: 1.038 MB / 1.308 GB, free: 6.512 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004749/1.519, allocations: 94.23 kB / 1.308 GB, free: 6.504 MB / 1.014 GB Notification: Performance of SimCode: time 9.31e-07/1.519, allocations: 0 / 1.308 GB, free: 6.504 MB / 1.014 GB Notification: Performance of Templates: time 0.03672/1.556, allocations: 25.14 MB / 1.332 GB, free: 14.08 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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