Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.HeatExchangers.Validation.EvaporatorCondenser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sou.T|senTem.T|ref.T|eva.eps|m_flow.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser") translateModel(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sou.T|senTem.T|ref.T|eva.eps|m_flow.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 111.1 kB / 15.99 MB, free: 6.348 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.001271/0.001271, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.461/1.461, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.489/2.489, allocations: 437 MB / 0.7107 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 69.2 kB / 0.8694 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3327, allocations: 151.6 MB / 1.017 GB, free: 11.04 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.0351/0.3678, allocations: 35.62 MB / 1.052 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01149/0.3794, allocations: 7.986 MB / 1.06 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.3809, allocations: 27.81 kB / 1.06 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.3823, allocations: 370.1 kB / 1.06 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004071/0.3864, allocations: 1.295 MB / 1.062 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002987/0.3894, allocations: 1.018 MB / 1.063 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003168/0.3925, allocations: 2.142 MB / 1.065 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.3937, allocations: 0.706 MB / 1.065 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.396, allocations: 0.9007 MB / 1.066 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.3971, allocations: 0.634 MB / 1.067 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.3972, allocations: 76 kB / 1.067 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002028/0.3993, allocations: 0.8034 MB / 1.068 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.3995, allocations: 207.3 kB / 1.068 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006429/0.4002, allocations: 473.9 kB / 1.068 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.4023, allocations: 1.165 MB / 1.07 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4023, allocations: 4 kB / 1.07 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4023, allocations: 0 / 1.07 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.4023, allocations: 0 / 1.07 GB, free: 5.473 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002332/0.4046, allocations: 1.221 MB / 1.071 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.4047, allocations: 8.031 kB / 1.071 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/0.4071, allocations: 299.5 kB / 1.071 GB, free: 3.895 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.4087, allocations: 0.7533 MB / 1.072 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.4087, allocations: 41.31 kB / 1.072 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.4088, allocations: 60 kB / 1.072 GB, free: 3 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.4108, allocations: 0.8031 MB / 1.073 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.4108, allocations: 0 / 1.073 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.433e-05/0.4109, allocations: 28 kB / 1.073 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.77e-05/0.4109, allocations: 16 kB / 1.073 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.413, allocations: 0.6138 MB / 1.073 GB, free: 1.484 MB / 0.8419 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.6043/1.017, allocations: 3.93 MB / 1.077 GB, free: 62.14 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/1.019, allocations: 460.9 kB / 1.078 GB, free: 62.12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008403/1.02, allocations: 205.6 kB / 1.078 GB, free: 62.11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005645/1.021, allocations: 0.5197 MB / 1.078 GB, free: 61.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/1.021, allocations: 38.06 kB / 1.078 GB, free: 61.51 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=26): time 3.176e-06/1.021, allocations: 0.7188 kB / 1.078 GB, free: 61.51 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.003109/1.024, allocations: 0.774 MB / 1.079 GB, free: 61.34 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/1.024, allocations: 106.5 kB / 1.079 GB, free: 61.21 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007874/1.025, allocations: 0.585 MB / 1.08 GB, free: 60.95 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/1.025, allocations: 37.17 kB / 1.08 GB, free: 60.91 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000266/1.025, allocations: 391 kB / 1.08 GB, free: 60.63 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.811e-05/1.025, allocations: 93.73 kB / 1.08 GB, free: 60.56 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/1.025, allocations: 107.5 kB / 1.08 GB, free: 60.51 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001073/1.025, allocations: 366.1 kB / 1.081 GB, free: 60.17 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008173/1.026, allocations: 202.5 kB / 1.081 GB, free: 60.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009243/1.027, allocations: 356.1 kB / 1.081 GB, free: 59.88 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/1.029, allocations: 0.5292 MB / 1.082 GB, free: 59.61 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.029, allocations: 1.469 kB / 1.082 GB, free: 59.61 MB / 0.8419 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002137/1.031, allocations: 0.6464 MB / 1.082 GB, free: 59.38 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/1.031, allocations: 7.484 kB / 1.082 GB, free: 59.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.031, allocations: 7.969 kB / 1.082 GB, free: 59.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002669/1.031, allocations: 64.09 kB / 1.082 GB, free: 59.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007427/1.032, allocations: 130.6 kB / 1.083 GB, free: 59.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003905/1.033, allocations: 0.6303 MB / 1.083 GB, free: 58.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009117/1.033, allocations: 102.6 kB / 1.083 GB, free: 58.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.967e-05/1.034, allocations: 26.27 kB / 1.083 GB, free: 58.75 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003681/1.034, allocations: 229.4 kB / 1.084 GB, free: 58.57 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/1.034, allocations: 63.8 kB / 1.084 GB, free: 58.54 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/1.036, allocations: 0.6155 MB / 1.084 GB, free: 58.33 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/1.036, allocations: 4.391 kB / 1.084 GB, free: 58.33 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/1.036, allocations: 0 / 1.084 GB, free: 58.33 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001854/1.038, allocations: 0.7071 MB / 1.085 GB, free: 57.87 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/1.042, allocations: 1.293 MB / 1.086 GB, free: 57.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.042, allocations: 5.25 kB / 1.086 GB, free: 57.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005895/1.042, allocations: 81.77 kB / 1.086 GB, free: 57.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002252/1.042, allocations: 63.67 kB / 1.086 GB, free: 57.18 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-05/1.042, allocations: 15.02 kB / 1.086 GB, free: 57.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003816/1.043, allocations: 0.6034 MB / 1.087 GB, free: 56.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.043, allocations: 1.531 kB / 1.087 GB, free: 56.62 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/1.046, allocations: 0.8932 MB / 1.088 GB, free: 56.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/1.046, allocations: 209 kB / 1.088 GB, free: 56.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/1.046, allocations: 7.719 kB / 1.088 GB, free: 56.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009806/1.047, allocations: 87.39 kB / 1.088 GB, free: 56.01 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/1.048, allocations: 23.52 kB / 1.088 GB, free: 56 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.132e-05/1.048, allocations: 26.77 kB / 1.088 GB, free: 56 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008915/1.049, allocations: 480.2 kB / 1.089 GB, free: 55.79 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.71e-07/1.049, allocations: 0 / 1.089 GB, free: 55.79 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001159/1.05, allocations: 271.3 kB / 1.089 GB, free: 55.74 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senTem.T) * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000899/1.051, allocations: 305.7 kB / 1.089 GB, free: 55.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00218/1.053, allocations: 0.5041 MB / 1.09 GB, free: 55.48 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/1.053, allocations: 1 kB / 1.09 GB, free: 55.48 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009848/1.054, allocations: 238.7 kB / 1.09 GB, free: 55.43 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/1.056, allocations: 385.8 kB / 1.09 GB, free: 55.33 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/1.059, allocations: 1.553 MB / 1.092 GB, free: 54.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/1.06, allocations: 0.9168 MB / 1.093 GB, free: 53.62 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/1.06, allocations: 81.41 kB / 1.093 GB, free: 53.61 MB / 0.8419 GB Notification: Performance of SimCode: time 1.133e-06/1.06, allocations: 1.406 kB / 1.093 GB, free: 53.61 MB / 0.8419 GB Notification: Performance of Templates: time 0.03478/1.095, allocations: 16.73 MB / 1.109 GB, free: 49.61 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches