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.00147/0.00147, allocations: 108 kB / 15.61 MB, free: 152 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.002147/0.002147, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.452/1.452, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.849/2.849, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 69.52 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3382, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03431/0.3725, allocations: 35.9 MB / 1.103 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01114/0.3837, allocations: 8.027 MB / 1.111 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.3851, allocations: 31.81 kB / 1.111 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.3864, allocations: 421.3 kB / 1.111 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003779/0.3902, allocations: 1.391 MB / 1.113 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.3932, allocations: 1.104 MB / 1.114 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002706/0.3959, allocations: 2.145 MB / 1.116 GB, free: 9.273 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009686/0.3969, allocations: 0.7021 MB / 1.117 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002019/0.3989, allocations: 0.9006 MB / 1.118 GB, free: 7.652 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008148/0.3998, allocations: 0.6106 MB / 1.118 GB, free: 7.039 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.3999, allocations: 76 kB / 1.118 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.4018, allocations: 0.7885 MB / 1.119 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.402, allocations: 219.3 kB / 1.119 GB, free: 5.961 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005234/0.4026, allocations: 477.8 kB / 1.12 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002189/0.4048, allocations: 1.519 MB / 1.121 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4048, allocations: 0 / 1.121 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.033e-06/0.4048, allocations: 0 / 1.121 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.4048, allocations: 0 / 1.121 GB, free: 3.969 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.001885/0.4067, allocations: 1.232 MB / 1.122 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.4067, allocations: 12.03 kB / 1.122 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002309/0.4091, allocations: 295.6 kB / 1.123 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.4103, allocations: 0.7259 MB / 1.123 GB, free: 1.609 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.4104, allocations: 41.31 kB / 1.123 GB, free: 1.57 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-05/0.4105, allocations: 60 kB / 1.123 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.4121, allocations: 0.7992 MB / 1.124 GB, free: 0.6562 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4122, allocations: 0 / 1.124 GB, free: 0.6562 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.077e-05/0.4122, allocations: 28 kB / 1.124 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/0.4123, allocations: 16 kB / 1.124 GB, free: 0.6133 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.4142, allocations: 0.614 MB / 1.125 GB, free: 16 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.004751/0.419, allocations: 3.958 MB / 1.129 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.4208, allocations: 455.6 kB / 1.129 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007909/0.4216, allocations: 213.3 kB / 1.129 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006075/0.4222, allocations: 0.522 MB / 1.13 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.4222, allocations: 38.56 kB / 1.13 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=26): time 2.495e-06/0.4222, allocations: 0 / 1.13 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of matching and sorting (n=26): time 0.002984/0.4252, allocations: 0.778 MB / 1.131 GB, free: 9.605 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.4253, allocations: 106.8 kB / 1.131 GB, free: 9.477 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007045/0.426, allocations: 0.586 MB / 1.131 GB, free: 8.883 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/0.4261, allocations: 37.7 kB / 1.131 GB, free: 8.84 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.4264, allocations: 387.7 kB / 1.132 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.738e-05/0.4265, allocations: 94.64 kB / 1.132 GB, free: 8.359 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.4266, allocations: 106 kB / 1.132 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4268, allocations: 366.7 kB / 1.132 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008036/0.4276, allocations: 204.7 kB / 1.133 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009033/0.4285, allocations: 355.3 kB / 1.133 GB, free: 7.266 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.4302, allocations: 0.5327 MB / 1.133 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.4302, allocations: 0 / 1.133 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002009/0.4322, allocations: 0.6514 MB / 1.134 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.4322, allocations: 8.406 kB / 1.134 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.4322, allocations: 8 kB / 1.134 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002663/0.4325, allocations: 56.83 kB / 1.134 GB, free: 5.945 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007053/0.4332, allocations: 131.8 kB / 1.134 GB, free: 5.816 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005092/0.4337, allocations: 0.6265 MB / 1.135 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007679/0.4345, allocations: 79.39 kB / 1.135 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/0.4346, allocations: 39.97 kB / 1.135 GB, free: 5.047 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.0003452/0.4349, allocations: 221.8 kB / 1.135 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.4351, allocations: 59.28 kB / 1.135 GB, free: 4.762 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/0.4372, allocations: 0.6162 MB / 1.136 GB, free: 4.133 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.4372, allocations: 4 kB / 1.136 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4372, allocations: 4 kB / 1.136 GB, free: 4.125 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001799/0.439, allocations: 0.7068 MB / 1.137 GB, free: 3.348 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.442, allocations: 1.299 MB / 1.138 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.442, allocations: 0 / 1.138 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007312/0.4427, allocations: 76.06 kB / 1.138 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002614/0.443, allocations: 60.75 kB / 1.138 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/0.4431, allocations: 19.92 kB / 1.138 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005827/0.4437, allocations: 0.6148 MB / 1.139 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.4437, allocations: 0 / 1.139 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003774/0.4475, allocations: 0.8876 MB / 1.139 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003986/0.4479, allocations: 204.2 kB / 1.14 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.4481, allocations: 12.06 kB / 1.14 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008627/0.4489, allocations: 47.94 kB / 1.14 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.449, allocations: 31.88 kB / 1.14 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-05/0.4491, allocations: 23.97 kB / 1.14 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007116/0.4498, allocations: 487 kB / 1.14 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4498, allocations: 0 / 1.14 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009763/0.4508, allocations: 275.5 kB / 1.14 GB, free: 15.18 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.0008301/0.4516, allocations: 312.1 kB / 1.141 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002036/0.4537, allocations: 0.4949 MB / 1.141 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.4537, allocations: 8.062 kB / 1.141 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008972/0.4546, allocations: 230.5 kB / 1.141 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.4565, allocations: 390.3 kB / 1.142 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.4592, allocations: 1.271 MB / 1.143 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/0.4598, allocations: 0.9296 MB / 1.144 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.00075/0.4605, allocations: 161.7 kB / 1.144 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.4607, allocations: 71.38 kB / 1.144 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of SimCode: time 7.41e-07/0.4607, allocations: 0 / 1.144 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of Templates: time 0.02802/0.4888, allocations: 16.2 MB / 1.16 GB, free: 11.29 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