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.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.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.001365/0.001365, allocations: 116.4 kB / 16.37 MB, free: 6.43 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.001486/0.001486, allocations: 196.3 kB / 17.31 MB, free: 5.777 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.599/2.599, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 65.38 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.315, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03421/0.3492, allocations: 35.89 MB / 1.054 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0113/0.3606, allocations: 8.026 MB / 1.062 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.3619, allocations: 35.81 kB / 1.062 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.3633, allocations: 425.2 kB / 1.062 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004065/0.3673, allocations: 1.388 MB / 1.063 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002981/0.3703, allocations: 1.115 MB / 1.065 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002897/0.3732, allocations: 2.142 MB / 1.067 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.3743, allocations: 0.7174 MB / 1.067 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002141/0.3764, allocations: 0.8855 MB / 1.068 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000938/0.3774, allocations: 0.6146 MB / 1.069 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.3775, allocations: 76 kB / 1.069 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.3792, allocations: 0.8425 MB / 1.07 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.3795, allocations: 211.3 kB / 1.07 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004915/0.38, allocations: 473.8 kB / 1.07 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.382, allocations: 1.531 MB / 1.072 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.382, allocations: 0 / 1.072 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.583e-06/0.382, allocations: 4 kB / 1.072 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.3821, allocations: 0 / 1.072 GB, free: 3.305 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.001825/0.3839, allocations: 1.217 MB / 1.073 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3839, allocations: 12.03 kB / 1.073 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/0.3862, allocations: 287.6 kB / 1.073 GB, free: 1.738 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.3876, allocations: 0.7688 MB / 1.074 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.3877, allocations: 49.3 kB / 1.074 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.286e-05/0.3878, allocations: 60 kB / 1.074 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4959/0.8837, allocations: 0.7953 MB / 1.075 GB, free: 64.39 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.689e-05/0.8838, allocations: 0.8438 kB / 1.075 GB, free: 64.39 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002097/0.884, allocations: 24.53 kB / 1.075 GB, free: 64.39 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-05/0.8841, allocations: 20.52 kB / 1.075 GB, free: 64.39 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.8865, allocations: 0.609 MB / 1.076 GB, free: 64.39 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.005197/0.8917, allocations: 3.923 MB / 1.079 GB, free: 61.68 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.8935, allocations: 463.5 kB / 1.08 GB, free: 61.54 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007921/0.8943, allocations: 209.8 kB / 1.08 GB, free: 61.48 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005674/0.8949, allocations: 0.5272 MB / 1.081 GB, free: 60.91 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.895, allocations: 42.11 kB / 1.081 GB, free: 60.86 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=26): time 1.974e-06/0.895, allocations: 0 / 1.081 GB, free: 60.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.002924/0.8979, allocations: 0.7737 MB / 1.081 GB, free: 60.57 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.898, allocations: 110.3 kB / 1.081 GB, free: 60.44 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007611/0.8987, allocations: 0.5862 MB / 1.082 GB, free: 60.17 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/0.8988, allocations: 36.3 kB / 1.082 GB, free: 60.14 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.8991, allocations: 386 kB / 1.082 GB, free: 59.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.553e-05/0.8992, allocations: 94.98 kB / 1.083 GB, free: 59.77 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.8994, allocations: 112 kB / 1.083 GB, free: 59.71 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.8995, allocations: 366.3 kB / 1.083 GB, free: 59.37 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007843/0.9003, allocations: 198.8 kB / 1.083 GB, free: 59.32 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008732/0.9012, allocations: 355.2 kB / 1.084 GB, free: 59.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.9028, allocations: 0.5311 MB / 1.084 GB, free: 58.8 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.9029, allocations: 5.312 kB / 1.084 GB, free: 58.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002122/0.905, allocations: 0.6523 MB / 1.085 GB, free: 58.57 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.905, allocations: 5.906 kB / 1.085 GB, free: 58.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.905, allocations: 4.812 kB / 1.085 GB, free: 58.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002748/0.9053, allocations: 60.2 kB / 1.085 GB, free: 58.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007517/0.9061, allocations: 138.9 kB / 1.085 GB, free: 58.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003907/0.9065, allocations: 0.6234 MB / 1.086 GB, free: 57.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007835/0.9073, allocations: 82.67 kB / 1.086 GB, free: 57.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.9073, allocations: 27.27 kB / 1.086 GB, free: 57.93 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.0003699/0.9077, allocations: 220.8 kB / 1.086 GB, free: 57.76 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.9079, allocations: 62.67 kB / 1.086 GB, free: 57.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/0.9099, allocations: 0.6166 MB / 1.086 GB, free: 57.51 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.91, allocations: 4.359 kB / 1.086 GB, free: 57.51 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.91, allocations: 3.938 kB / 1.086 GB, free: 57.51 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00175/0.9117, allocations: 0.7066 MB / 1.087 GB, free: 57.05 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002952/0.9147, allocations: 1.293 MB / 1.088 GB, free: 56.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.9147, allocations: 2.281 kB / 1.088 GB, free: 56.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005508/0.9153, allocations: 83.38 kB / 1.089 GB, free: 56.37 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002067/0.9155, allocations: 54.59 kB / 1.089 GB, free: 56.35 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.9155, allocations: 15.33 kB / 1.089 GB, free: 56.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000344/0.9159, allocations: 0.6119 MB / 1.089 GB, free: 55.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.9159, allocations: 4.969 kB / 1.089 GB, free: 55.79 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/0.9187, allocations: 0.8987 MB / 1.09 GB, free: 55.37 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.919, allocations: 208.8 kB / 1.09 GB, free: 55.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.866e-05/0.9191, allocations: 8.141 kB / 1.09 GB, free: 55.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007212/0.9198, allocations: 53.95 kB / 1.09 GB, free: 55.19 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.9199, allocations: 18.2 kB / 1.09 GB, free: 55.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.431e-05/0.92, allocations: 28.08 kB / 1.09 GB, free: 55.18 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007767/0.9208, allocations: 483.8 kB / 1.091 GB, free: 54.97 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9208, allocations: 0 / 1.091 GB, free: 54.97 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0011/0.9219, allocations: 272.1 kB / 1.091 GB, free: 54.93 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.0007101/0.9226, allocations: 312.5 kB / 1.091 GB, free: 54.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001968/0.9246, allocations: 0.4886 MB / 1.092 GB, free: 54.67 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.9246, allocations: 1.781 kB / 1.092 GB, free: 54.67 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008986/0.9255, allocations: 233.3 kB / 1.092 GB, free: 54.62 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.9272, allocations: 399.7 kB / 1.092 GB, free: 54.51 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.9295, allocations: 1.258 MB / 1.094 GB, free: 53.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.9299, allocations: 0.926 MB / 1.095 GB, free: 53.09 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005807/0.9305, allocations: 155.2 kB / 1.095 GB, free: 53.05 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.9307, allocations: 72.11 kB / 1.095 GB, free: 53.04 MB / 0.8419 GB Notification: Performance of SimCode: time 6.51e-07/0.9307, allocations: 0 / 1.095 GB, free: 53.04 MB / 0.8419 GB Notification: Performance of Templates: time 0.03438/0.9651, allocations: 16.2 MB / 1.111 GB, free: 49.37 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 -s cvode -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