Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.EvaporatorCondenser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sou.T|senTem.T|ref.T|eva.eps|m_flow.y",fileNamePrefix="Buildings_latest_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_latest_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.001639/0.001639, allocations: 108 kB / 15.6 MB, free: 132 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.001995/0.001995, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.759/2.759, allocations: 472.7 MB / 0.7452 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 65.42 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3482, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03687/0.3851, allocations: 35.87 MB / 1.103 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01272/0.3979, allocations: 8.029 MB / 1.111 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.3997, allocations: 31.81 kB / 1.111 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.4012, allocations: 425.3 kB / 1.112 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004523/0.4058, allocations: 1.391 MB / 1.113 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003299/0.4091, allocations: 1.115 MB / 1.114 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003336/0.4124, allocations: 2.142 MB / 1.116 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.4138, allocations: 0.706 MB / 1.117 GB, free: 8.512 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002637/0.4164, allocations: 0.8902 MB / 1.118 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.4178, allocations: 0.6145 MB / 1.118 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000284/0.4181, allocations: 76 kB / 1.118 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.4204, allocations: 0.7924 MB / 1.119 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003753/0.4208, allocations: 211.3 kB / 1.119 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009792/0.4217, allocations: 477.8 kB / 1.12 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003093/0.4248, allocations: 1.519 MB / 1.121 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.4249, allocations: 3.938 kB / 1.121 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.562e-06/0.4249, allocations: 3.938 kB / 1.121 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.412e-05/0.4249, allocations: 4 kB / 1.121 GB, free: 3.926 MB / 0.8731 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.002783/0.4277, allocations: 1.221 MB / 1.122 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.4278, allocations: 12.03 kB / 1.122 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/0.4303, allocations: 291.6 kB / 1.123 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.4319, allocations: 0.7259 MB / 1.123 GB, free: 1.582 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.4319, allocations: 49.31 kB / 1.123 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.432, allocations: 59.98 kB / 1.124 GB, free: 1.477 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.434, allocations: 0.8031 MB / 1.124 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.4341, allocations: 0 / 1.124 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-05/0.4341, allocations: 24 kB / 1.124 GB, free: 0.5938 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.4342, allocations: 20 kB / 1.124 GB, free: 0.5742 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.4363, allocations: 0.6177 MB / 1.125 GB, free: 15.95 MB / 0.8887 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.005551/0.4419, allocations: 3.951 MB / 1.129 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/0.4439, allocations: 464.4 kB / 1.129 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008178/0.4447, allocations: 204.7 kB / 1.129 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006559/0.4454, allocations: 0.5298 MB / 1.13 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.4455, allocations: 38.56 kB / 1.13 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=26): time 1.984e-06/0.4455, allocations: 0 / 1.13 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of matching and sorting (n=26): time 0.003174/0.4486, allocations: 0.7726 MB / 1.131 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.4488, allocations: 110.8 kB / 1.131 GB, free: 9.43 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008136/0.4496, allocations: 0.586 MB / 1.131 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.644e-05/0.4497, allocations: 33.7 kB / 1.131 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.45, allocations: 387.6 kB / 1.132 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.4501, allocations: 94.66 kB / 1.132 GB, free: 8.316 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.4503, allocations: 106 kB / 1.132 GB, free: 8.207 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.4505, allocations: 366.7 kB / 1.132 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000859/0.4514, allocations: 200.7 kB / 1.133 GB, free: 7.645 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009581/0.4523, allocations: 359.3 kB / 1.133 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/0.4542, allocations: 0.5327 MB / 1.133 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.4542, allocations: 0 / 1.133 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002226/0.4564, allocations: 0.6553 MB / 1.134 GB, free: 5.977 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.4565, allocations: 8 kB / 1.134 GB, free: 5.969 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.4565, allocations: 4 kB / 1.134 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002817/0.4568, allocations: 60.83 kB / 1.134 GB, free: 5.902 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007405/0.4575, allocations: 144.1 kB / 1.134 GB, free: 5.762 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005087/0.458, allocations: 0.6148 MB / 1.135 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000819/0.4589, allocations: 83.44 kB / 1.135 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.4589, allocations: 27.98 kB / 1.135 GB, free: 5.012 MB / 0.8887 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.0003696/0.4593, allocations: 221.7 kB / 1.135 GB, free: 4.785 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.4595, allocations: 59.28 kB / 1.135 GB, free: 4.727 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.4617, allocations: 0.6171 MB / 1.136 GB, free: 4.098 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.4618, allocations: 4 kB / 1.136 GB, free: 4.094 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.4618, allocations: 3.984 kB / 1.136 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001857/0.4636, allocations: 0.6991 MB / 1.137 GB, free: 3.32 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/0.4668, allocations: 1.299 MB / 1.138 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4668, allocations: 3.938 kB / 1.138 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005792/0.4674, allocations: 83.91 kB / 1.138 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001991/0.4676, allocations: 60.97 kB / 1.138 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.4676, allocations: 19.92 kB / 1.138 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004595/0.4681, allocations: 0.607 MB / 1.139 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4681, allocations: 3.984 kB / 1.139 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/0.4711, allocations: 0.8871 MB / 1.139 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000383/0.4714, allocations: 208.3 kB / 1.14 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.4716, allocations: 8 kB / 1.14 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008224/0.4724, allocations: 51.95 kB / 1.14 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.887e-05/0.4725, allocations: 23.84 kB / 1.14 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.943e-05/0.4726, allocations: 23.97 kB / 1.14 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007404/0.4733, allocations: 487 kB / 1.14 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4734, allocations: 4 kB / 1.14 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009947/0.4744, allocations: 271.5 kB / 1.14 GB, free: 15.15 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.0008328/0.4752, allocations: 311.7 kB / 1.141 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002058/0.4773, allocations: 0.4891 MB / 1.141 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.4773, allocations: 8 kB / 1.141 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009158/0.4782, allocations: 234.7 kB / 1.141 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.4801, allocations: 399.3 kB / 1.142 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.483, allocations: 1.274 MB / 1.143 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.4836, allocations: 0.9217 MB / 1.144 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007293/0.4843, allocations: 149.8 kB / 1.144 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.4845, allocations: 79.38 kB / 1.144 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.4845, allocations: 0 / 1.144 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of Templates: time 0.02813/0.5126, allocations: 16.21 MB / 1.16 GB, free: 11.25 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches