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.001338/0.001338, allocations: 102.2 kB / 16.27 MB, free: 6 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.001306/0.001306, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.356/1.356, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.204/2.204, allocations: 390.3 MB / 0.6653 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001364, allocations: 64.84 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3115, allocations: 140.4 MB / 0.9503 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03982/0.3514, allocations: 35.88 MB / 0.9853 GB, free: 4.848 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01263/0.3641, allocations: 8.026 MB / 0.9931 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.3657, allocations: 35.81 kB / 0.9932 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.3671, allocations: 425.3 kB / 0.9936 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00429/0.3714, allocations: 1.403 MB / 0.995 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.3744, allocations: 1.097 MB / 0.996 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003025/0.3774, allocations: 2.139 MB / 0.9981 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.3785, allocations: 0.706 MB / 0.9988 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/0.3807, allocations: 0.8934 MB / 0.9997 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008746/0.3816, allocations: 0.6106 MB / 1 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.3817, allocations: 76 kB / 1 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.3835, allocations: 0.7984 MB / 1.001 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.3838, allocations: 211.3 kB / 1.001 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005207/0.3843, allocations: 469.9 kB / 1.002 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.3865, allocations: 1.531 MB / 1.003 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3865, allocations: 0 / 1.003 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3865, allocations: 4 kB / 1.003 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.3865, allocations: 0 / 1.003 GB, free: 2.402 MB / 0.7794 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.00192/0.3884, allocations: 1.217 MB / 1.004 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3885, allocations: 8.031 kB / 1.004 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002318/0.3908, allocations: 303.3 kB / 1.005 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.392, allocations: 0.7373 MB / 1.005 GB, free: 48 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.3921, allocations: 41.31 kB / 1.006 GB, free: 4 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.3922, allocations: 56.05 kB / 1.006 GB, free: 15.95 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.3939, allocations: 0.7991 MB / 1.006 GB, free: 15.09 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.3939, allocations: 4 kB / 1.006 GB, free: 15.09 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.024e-05/0.394, allocations: 28 kB / 1.006 GB, free: 15.06 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.394, allocations: 20 kB / 1.006 GB, free: 15.04 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.396, allocations: 0.6216 MB / 1.007 GB, free: 14.42 MB / 0.795 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.004881/0.4009, allocations: 3.954 MB / 1.011 GB, free: 10.18 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.4027, allocations: 450.7 kB / 1.011 GB, free: 9.73 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000776/0.4035, allocations: 204.7 kB / 1.011 GB, free: 9.527 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006533/0.4042, allocations: 0.5259 MB / 1.012 GB, free: 8.891 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.4042, allocations: 34.55 kB / 1.012 GB, free: 8.848 MB / 0.795 GB Notification: Performance of pre-optimization done (n=26): time 2.815e-06/0.4042, allocations: 4 kB / 1.012 GB, free: 8.844 MB / 0.795 GB Notification: Performance of matching and sorting (n=26): time 0.003006/0.4073, allocations: 0.7786 MB / 1.013 GB, free: 8.039 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.4073, allocations: 106.8 kB / 1.013 GB, free: 7.91 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007318/0.4081, allocations: 0.5899 MB / 1.013 GB, free: 7.309 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.4081, allocations: 29.7 kB / 1.014 GB, free: 7.273 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.4084, allocations: 387.7 kB / 1.014 GB, free: 6.887 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.549e-05/0.4085, allocations: 94.64 kB / 1.014 GB, free: 6.793 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.4087, allocations: 101.9 kB / 1.014 GB, free: 6.688 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4089, allocations: 378.7 kB / 1.014 GB, free: 6.309 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008195/0.4097, allocations: 200.7 kB / 1.015 GB, free: 6.113 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009446/0.4107, allocations: 359.3 kB / 1.015 GB, free: 5.691 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.4123, allocations: 0.525 MB / 1.015 GB, free: 5.113 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/0.4124, allocations: 4 kB / 1.015 GB, free: 5.109 MB / 0.795 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002061/0.4144, allocations: 0.6428 MB / 1.016 GB, free: 4.457 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.4145, allocations: 11.98 kB / 1.016 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.4145, allocations: 4 kB / 1.016 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002875/0.4148, allocations: 65.17 kB / 1.016 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007003/0.4155, allocations: 143.7 kB / 1.016 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005133/0.416, allocations: 0.6109 MB / 1.017 GB, free: 3.598 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007783/0.4168, allocations: 83.55 kB / 1.017 GB, free: 3.516 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.4169, allocations: 27.97 kB / 1.017 GB, free: 3.488 MB / 0.795 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.0003812/0.4173, allocations: 217.7 kB / 1.017 GB, free: 3.266 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.4174, allocations: 67.19 kB / 1.017 GB, free: 3.199 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/0.4195, allocations: 0.6197 MB / 1.018 GB, free: 2.562 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.4195, allocations: 4 kB / 1.018 GB, free: 2.559 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4195, allocations: 0 / 1.018 GB, free: 2.559 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001802/0.4213, allocations: 0.7062 MB / 1.019 GB, free: 1.781 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/0.4242, allocations: 1.296 MB / 1.02 GB, free: 424 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.4242, allocations: 4 kB / 1.02 GB, free: 420 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.4247, allocations: 79.83 kB / 1.02 GB, free: 340 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/0.4249, allocations: 60.92 kB / 1.02 GB, free: 276 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.425, allocations: 15.97 kB / 1.02 GB, free: 260 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004742/0.4255, allocations: 0.6071 MB / 1.021 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4255, allocations: 4.031 kB / 1.021 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/0.4283, allocations: 0.888 MB / 1.021 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003686/0.4287, allocations: 204.1 kB / 1.022 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.4288, allocations: 8 kB / 1.022 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007706/0.4296, allocations: 52 kB / 1.022 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/0.4297, allocations: 27.84 kB / 1.022 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-05/0.4298, allocations: 31.91 kB / 1.022 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006459/0.4304, allocations: 483 kB / 1.022 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4304, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000914/0.4313, allocations: 267.5 kB / 1.023 GB, free: 13.63 MB / 0.8106 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.0007516/0.4321, allocations: 310.8 kB / 1.023 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002013/0.4341, allocations: 0.5116 MB / 1.023 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4341, allocations: 0 / 1.023 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009003/0.4351, allocations: 234.2 kB / 1.024 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.4369, allocations: 396.1 kB / 1.024 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.4397, allocations: 1.314 MB / 1.025 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/0.4402, allocations: 0.9178 MB / 1.026 GB, free: 9.895 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/0.4405, allocations: 87.3 kB / 1.026 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of SimCode: time 6.11e-07/0.4405, allocations: 0 / 1.026 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of Templates: time 0.02341/0.4639, allocations: 16.83 MB / 1.043 GB, free: 9.102 MB / 0.8262 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