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.001481/0.001481, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001818/0.001818, allocations: 188.2 kB / 16.25 MB, free: 6.637 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.48/1.48, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.912/2.912, allocations: 472.6 MB / 0.7448 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 66.52 kB / 0.9115 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3458, allocations: 159.9 MB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03781/0.3836, allocations: 35.61 MB / 1.102 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01214/0.3958, allocations: 7.988 MB / 1.11 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.3972, allocations: 31.81 kB / 1.11 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.3988, allocations: 366.1 kB / 1.111 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00458/0.4034, allocations: 1.299 MB / 1.112 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003119/0.4066, allocations: 1.017 MB / 1.113 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003167/0.4097, allocations: 2.147 MB / 1.115 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.4111, allocations: 0.7021 MB / 1.116 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002674/0.4137, allocations: 0.8958 MB / 1.117 GB, free: 8.5 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.415, allocations: 0.6379 MB / 1.117 GB, free: 7.859 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002541/0.4153, allocations: 76 kB / 1.117 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.4174, allocations: 0.7995 MB / 1.118 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003533/0.4178, allocations: 207.3 kB / 1.118 GB, free: 6.781 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000914/0.4187, allocations: 485.8 kB / 1.119 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.4215, allocations: 1.523 MB / 1.12 GB, free: 4.777 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4215, allocations: 0 / 1.12 GB, free: 4.777 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4215, allocations: 0 / 1.12 GB, free: 4.777 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.04e-05/0.4215, allocations: 0 / 1.12 GB, free: 4.777 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.002338/0.4239, allocations: 1.229 MB / 1.121 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.4239, allocations: 12.03 kB / 1.121 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002559/0.4265, allocations: 295.6 kB / 1.122 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.4279, allocations: 0.7493 MB / 1.122 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.428, allocations: 41.31 kB / 1.122 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.4281, allocations: 56 kB / 1.123 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.43, allocations: 0.8031 MB / 1.123 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.4301, allocations: 7.984 kB / 1.123 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.541e-05/0.4302, allocations: 24 kB / 1.123 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.481e-05/0.4302, allocations: 20 kB / 1.123 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.4324, allocations: 0.6139 MB / 1.124 GB, free: 0.7773 MB / 0.8731 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.005282/0.4377, allocations: 3.915 MB / 1.128 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.4398, allocations: 463.6 kB / 1.128 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008478/0.4406, allocations: 208.6 kB / 1.128 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006339/0.4413, allocations: 0.5259 MB / 1.129 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.4413, allocations: 42.56 kB / 1.129 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=26): time 2.695e-06/0.4413, allocations: 0 / 1.129 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of matching and sorting (n=26): time 0.003218/0.4446, allocations: 0.7732 MB / 1.13 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.4446, allocations: 110.8 kB / 1.13 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008109/0.4455, allocations: 0.5821 MB / 1.13 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.647e-05/0.4455, allocations: 33.7 kB / 1.13 GB, free: 9.652 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.4458, allocations: 387.6 kB / 1.131 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.446, allocations: 94.73 kB / 1.131 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.4461, allocations: 106 kB / 1.131 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4463, allocations: 370.7 kB / 1.131 GB, free: 8.691 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008589/0.4472, allocations: 200.7 kB / 1.132 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009756/0.4481, allocations: 355.3 kB / 1.132 GB, free: 8.082 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.4499, allocations: 0.525 MB / 1.132 GB, free: 7.504 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4499, allocations: 0 / 1.132 GB, free: 7.504 MB / 0.8887 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002214/0.4521, allocations: 0.6632 MB / 1.133 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.4522, allocations: 4 kB / 1.133 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.4522, allocations: 4 kB / 1.133 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002776/0.4525, allocations: 64.81 kB / 1.133 GB, free: 6.758 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007442/0.4532, allocations: 132 kB / 1.133 GB, free: 6.629 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004586/0.4537, allocations: 0.6148 MB / 1.134 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009746/0.4547, allocations: 113.6 kB / 1.134 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.397e-05/0.4547, allocations: 27.98 kB / 1.134 GB, free: 5.852 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.0004/0.4552, allocations: 225.7 kB / 1.134 GB, free: 5.621 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.4553, allocations: 59.28 kB / 1.134 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.4575, allocations: 0.6243 MB / 1.135 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.4576, allocations: 8 kB / 1.135 GB, free: 4.918 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4576, allocations: 0 / 1.135 GB, free: 4.918 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001834/0.4594, allocations: 0.7023 MB / 1.136 GB, free: 4.145 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003032/0.4625, allocations: 1.292 MB / 1.137 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.4625, allocations: 0 / 1.137 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005846/0.4631, allocations: 80.05 kB / 1.137 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/0.4633, allocations: 56.77 kB / 1.137 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.4633, allocations: 23.91 kB / 1.137 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000466/0.4638, allocations: 0.6147 MB / 1.138 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.4638, allocations: 4.062 kB / 1.138 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002855/0.4667, allocations: 0.8885 MB / 1.138 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004315/0.4671, allocations: 208.3 kB / 1.139 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/0.4674, allocations: 8 kB / 1.139 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.4684, allocations: 83.75 kB / 1.139 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.4685, allocations: 19.92 kB / 1.139 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-05/0.4686, allocations: 23.95 kB / 1.139 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007423/0.4693, allocations: 483 kB / 1.139 GB, free: 232 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4693, allocations: 4 kB / 1.139 GB, free: 228 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001192/0.4705, allocations: 271.6 kB / 1.139 GB, free: 15.95 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.0009213/0.4715, allocations: 297 kB / 1.14 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002069/0.4735, allocations: 0.5002 MB / 1.14 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.4736, allocations: 7.875 kB / 1.14 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009183/0.4745, allocations: 228.2 kB / 1.14 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/0.4766, allocations: 398.1 kB / 1.141 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.4796, allocations: 1.532 MB / 1.142 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006081/0.4802, allocations: 0.9218 MB / 1.143 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008284/0.4811, allocations: 157.8 kB / 1.143 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.4813, allocations: 71.33 kB / 1.143 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of SimCode: time 5.11e-07/0.4813, allocations: 0 / 1.143 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of Templates: time 0.0287/0.51, allocations: 15.93 MB / 1.159 GB, free: 12.09 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