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.005492/0.005492, allocations: 100.1 kB / 15.73 MB, free: 6.035 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.001219/0.001219, allocations: 187.3 kB / 16.67 MB, free: 5.965 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.405/2.405, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 68.05 kB / 0.9509 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3186, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03479/0.3535, allocations: 35.88 MB / 1.123 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01153/0.365, allocations: 8.031 MB / 1.131 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.3664, allocations: 31.81 kB / 1.131 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.3678, allocations: 445.2 kB / 1.131 GB, free: 4.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003952/0.3717, allocations: 1.44 MB / 1.133 GB, free: 3.535 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.3748, allocations: 1.132 MB / 1.134 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002962/0.3778, allocations: 2.135 MB / 1.136 GB, free: 276 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.3788, allocations: 0.7212 MB / 1.137 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002198/0.381, allocations: 0.9044 MB / 1.137 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008206/0.3818, allocations: 0.6107 MB / 1.138 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.3819, allocations: 75.94 kB / 1.138 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.3837, allocations: 0.8479 MB / 1.139 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.384, allocations: 215.2 kB / 1.139 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005429/0.3845, allocations: 477.8 kB / 1.14 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002281/0.3868, allocations: 1.519 MB / 1.141 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3868, allocations: 0 / 1.141 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3868, allocations: 0 / 1.141 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.3869, allocations: 0 / 1.141 GB, free: 10.89 MB / 0.9044 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.001936/0.3888, allocations: 1.221 MB / 1.142 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3889, allocations: 11.97 kB / 1.142 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/0.3911, allocations: 303.2 kB / 1.143 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.3925, allocations: 0.7645 MB / 1.143 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.3925, allocations: 53.3 kB / 1.143 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.3926, allocations: 56 kB / 1.143 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.3943, allocations: 0.7914 MB / 1.144 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.3943, allocations: 3.938 kB / 1.144 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.06e-05/0.3944, allocations: 28 kB / 1.144 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.229e-05/0.3944, allocations: 20 kB / 1.144 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.3964, allocations: 0.6138 MB / 1.145 GB, free: 6.879 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.00455/0.4009, allocations: 3.931 MB / 1.149 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.4027, allocations: 452.7 kB / 1.149 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007521/0.4034, allocations: 208.6 kB / 1.149 GB, free: 2.004 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005912/0.404, allocations: 0.522 MB / 1.15 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.4041, allocations: 38.56 kB / 1.15 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 4.048e-06/0.4041, allocations: 0 / 1.15 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.002847/0.4069, allocations: 0.7724 MB / 1.151 GB, free: 0.5234 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.407, allocations: 110.8 kB / 1.151 GB, free: 400 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007024/0.4077, allocations: 0.5898 MB / 1.151 GB, free: 15.79 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.4078, allocations: 33.7 kB / 1.151 GB, free: 15.75 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.408, allocations: 391.6 kB / 1.152 GB, free: 15.36 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.789e-05/0.4081, allocations: 94.59 kB / 1.152 GB, free: 15.27 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.4083, allocations: 106 kB / 1.152 GB, free: 15.16 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4085, allocations: 366.8 kB / 1.152 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000791/0.4093, allocations: 196.7 kB / 1.152 GB, free: 14.6 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008752/0.4101, allocations: 359.4 kB / 1.153 GB, free: 14.18 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.4117, allocations: 0.5249 MB / 1.153 GB, free: 13.6 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.4118, allocations: 4 kB / 1.153 GB, free: 13.6 MB / 0.92 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001976/0.4137, allocations: 0.6467 MB / 1.154 GB, free: 12.94 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.4138, allocations: 8 kB / 1.154 GB, free: 12.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.4138, allocations: 4 kB / 1.154 GB, free: 12.93 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002708/0.4141, allocations: 60.77 kB / 1.154 GB, free: 12.87 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007049/0.4148, allocations: 144.1 kB / 1.154 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004486/0.4152, allocations: 0.6148 MB / 1.155 GB, free: 12.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007344/0.416, allocations: 83.53 kB / 1.155 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/0.416, allocations: 24.03 kB / 1.155 GB, free: 11.98 MB / 0.92 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.0003453/0.4164, allocations: 225.6 kB / 1.155 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.4165, allocations: 67.25 kB / 1.155 GB, free: 11.68 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/0.4187, allocations: 0.6288 MB / 1.156 GB, free: 11.04 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.4187, allocations: 11.92 kB / 1.156 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4187, allocations: 0 / 1.156 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001692/0.4204, allocations: 0.6906 MB / 1.156 GB, free: 10.27 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/0.423, allocations: 1.297 MB / 1.158 GB, free: 8.895 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.423, allocations: 4.156 kB / 1.158 GB, free: 8.891 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/0.4236, allocations: 83.78 kB / 1.158 GB, free: 8.809 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001979/0.4238, allocations: 56.81 kB / 1.158 GB, free: 8.75 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.4238, allocations: 15.98 kB / 1.158 GB, free: 8.734 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004117/0.4242, allocations: 0.6186 MB / 1.158 GB, free: 8.09 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4242, allocations: 7.969 kB / 1.158 GB, free: 8.082 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.4268, allocations: 0.8876 MB / 1.159 GB, free: 7.16 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.4272, allocations: 208.2 kB / 1.16 GB, free: 6.938 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.575e-05/0.4272, allocations: 4 kB / 1.16 GB, free: 6.934 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007242/0.428, allocations: 51.88 kB / 1.16 GB, free: 6.883 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.4281, allocations: 31.97 kB / 1.16 GB, free: 6.852 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/0.4281, allocations: 19.97 kB / 1.16 GB, free: 6.832 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005789/0.4287, allocations: 487 kB / 1.16 GB, free: 6.363 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4287, allocations: 0 / 1.16 GB, free: 6.363 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008983/0.4296, allocations: 271.5 kB / 1.16 GB, free: 6.098 MB / 0.92 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.0006805/0.4303, allocations: 309.8 kB / 1.161 GB, free: 5.797 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.4321, allocations: 0.4884 MB / 1.161 GB, free: 5.309 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.4321, allocations: 4 kB / 1.161 GB, free: 5.305 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008642/0.433, allocations: 240.2 kB / 1.161 GB, free: 5.07 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.4346, allocations: 399.7 kB / 1.162 GB, free: 4.688 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.4371, allocations: 1.242 MB / 1.163 GB, free: 3.402 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.4375, allocations: 0.9295 MB / 1.164 GB, free: 2.445 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005539/0.4381, allocations: 151.8 kB / 1.164 GB, free: 2.297 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.4383, allocations: 75.38 kB / 1.164 GB, free: 2.223 MB / 0.92 GB Notification: Performance of SimCode: time 5.11e-07/0.4383, allocations: 3.938 kB / 1.164 GB, free: 2.219 MB / 0.92 GB Notification: Performance of Templates: time 0.02585/0.4641, allocations: 16.3 MB / 1.18 GB, free: 2.145 MB / 0.9356 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches