Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.EvaporatorCondenser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sou.T|senTem.T|ref.T|eva.eps|m_flow.y",fileNamePrefix="Buildings_9_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_9_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.001222/0.001222, allocations: 109.3 kB / 16.41 MB, free: 6.445 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.00126/0.00126, allocations: 183 kB / 17.34 MB, free: 5.742 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 64.14 kB / 0.9515 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9798/0.9818, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.04132/1.023, allocations: 35.88 MB / 1.124 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01365/1.037, allocations: 8.022 MB / 1.131 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/1.039, allocations: 33.03 kB / 1.132 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/1.04, allocations: 424.5 kB / 1.132 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004688/1.045, allocations: 1.394 MB / 1.133 GB, free: 5.035 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003656/1.049, allocations: 1.125 MB / 1.134 GB, free: 4.426 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003723/1.052, allocations: 2.13 MB / 1.136 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/1.053, allocations: 0.7187 MB / 1.137 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002818/1.056, allocations: 0.9056 MB / 1.138 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/1.058, allocations: 0.6142 MB / 1.139 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002198/1.058, allocations: 75.53 kB / 1.139 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/1.061, allocations: 0.852 MB / 1.14 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000356/1.062, allocations: 198 kB / 1.14 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008983/1.063, allocations: 481 kB / 1.14 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004001/1.067, allocations: 1.527 MB / 1.142 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.067, allocations: 0.7969 kB / 1.142 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.753e-06/1.067, allocations: 0 / 1.142 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.534e-05/1.067, allocations: 1.062 kB / 1.142 GB, free: 1.102 MB / 0.8887 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.003418/1.07, allocations: 1.229 MB / 1.143 GB, free: 224 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/1.07, allocations: 10.03 kB / 1.143 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003696/1.074, allocations: 300.7 kB / 1.143 GB, free: 164 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/1.076, allocations: 0.7579 MB / 1.144 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.183e-05/1.076, allocations: 41.12 kB / 1.144 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/1.077, allocations: 58.53 kB / 1.144 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002874/1.08, allocations: 0.7975 MB / 1.145 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/1.08, allocations: 0 / 1.145 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/1.08, allocations: 23.69 kB / 1.145 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-05/1.08, allocations: 25.88 kB / 1.145 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003172/1.083, allocations: 0.6169 MB / 1.145 GB, free: 15.03 MB / 0.9044 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.00807/1.091, allocations: 3.935 MB / 1.149 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00288/1.094, allocations: 469.2 kB / 1.15 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/1.095, allocations: 201.3 kB / 1.15 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009777/1.096, allocations: 0.5204 MB / 1.15 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/1.096, allocations: 46.69 kB / 1.15 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 3.196e-06/1.096, allocations: 0 / 1.15 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.004773/1.101, allocations: 0.7697 MB / 1.151 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.032e-05/1.101, allocations: 111 kB / 1.151 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/1.103, allocations: 0.5926 MB / 1.152 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/1.103, allocations: 33.27 kB / 1.152 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004498/1.103, allocations: 383.4 kB / 1.152 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/1.103, allocations: 96.58 kB / 1.152 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002874/1.104, allocations: 103.9 kB / 1.153 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002444/1.104, allocations: 369.7 kB / 1.153 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/1.105, allocations: 200 kB / 1.153 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/1.107, allocations: 355.4 kB / 1.153 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002712/1.109, allocations: 0.5241 MB / 1.154 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/1.109, allocations: 1.188 kB / 1.154 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003482/1.113, allocations: 0.6547 MB / 1.155 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/1.113, allocations: 7.578 kB / 1.155 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.113, allocations: 4.125 kB / 1.155 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004056/1.113, allocations: 63.44 kB / 1.155 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.115, allocations: 140.2 kB / 1.155 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007584/1.115, allocations: 0.6179 MB / 1.155 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/1.117, allocations: 80.88 kB / 1.155 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.397e-05/1.117, allocations: 26.22 kB / 1.155 GB, free: 8.059 MB / 0.9044 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.0006522/1.117, allocations: 224.4 kB / 1.156 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/1.118, allocations: 62.09 kB / 1.156 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003256/1.121, allocations: 0.6135 MB / 1.156 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/1.121, allocations: 4.016 kB / 1.156 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/1.121, allocations: 3.938 kB / 1.156 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002831/1.124, allocations: 0.7076 MB / 1.157 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004782/1.129, allocations: 1.299 MB / 1.158 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.129, allocations: 2.422 kB / 1.158 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008665/1.13, allocations: 88.66 kB / 1.158 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003081/1.13, allocations: 60.39 kB / 1.158 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.283e-05/1.13, allocations: 10.61 kB / 1.158 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006838/1.131, allocations: 0.6228 MB / 1.159 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.131, allocations: 2.969 kB / 1.159 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003248/1.134, allocations: 0.8849 MB / 1.16 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004383/1.134, allocations: 208 kB / 1.16 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/1.135, allocations: 4.859 kB / 1.16 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007856/1.135, allocations: 56.27 kB / 1.16 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/1.135, allocations: 20.05 kB / 1.16 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.858e-05/1.136, allocations: 27.53 kB / 1.16 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007323/1.136, allocations: 482.2 kB / 1.161 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.41e-07/1.136, allocations: 0 / 1.161 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001089/1.137, allocations: 270.2 kB / 1.161 GB, free: 4.98 MB / 0.9044 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.0007479/1.138, allocations: 308.8 kB / 1.161 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001982/1.14, allocations: 0.4909 MB / 1.162 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.14, allocations: 1.938 kB / 1.162 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008943/1.141, allocations: 235.6 kB / 1.162 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/1.143, allocations: 392.4 kB / 1.162 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/1.146, allocations: 1.291 MB / 1.164 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/1.146, allocations: 0.9232 MB / 1.164 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/1.147, allocations: 86.55 kB / 1.165 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of SimCode: time 3.9e-07/1.147, allocations: 0 / 1.165 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of Templates: time 0.02757/1.174, allocations: 16.89 MB / 1.181 GB, free: 10.02 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches