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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001049/0.001049, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001341/0.001341, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.3 MB / 240 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.726/2.726, allocations: 462.6 MB / 0.736 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 11.25 kB / 0.9021 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2536, allocations: 159.6 MB / 1.058 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03284/0.2865, allocations: 33.05 MB / 1.09 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01075/0.2973, allocations: 7.508 MB / 1.098 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009059/0.2982, allocations: 27.81 kB / 1.098 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008847/0.2991, allocations: 306.1 kB / 1.098 GB, free: 12.43 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002948/0.3021, allocations: 1.122 MB / 1.099 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.3044, allocations: 0.8483 MB / 1.1 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002759/0.3071, allocations: 2.419 MB / 1.102 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009103/0.3081, allocations: 0.5349 MB / 1.103 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.3095, allocations: 0.7233 MB / 1.103 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008073/0.3103, allocations: 0.56 MB / 1.104 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.892e-05/0.3104, allocations: 32 kB / 1.104 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.3118, allocations: 0.5662 MB / 1.105 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.312, allocations: 151.3 kB / 1.105 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.3122, allocations: 193.3 kB / 1.105 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.3135, allocations: 1.111 MB / 1.106 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3135, allocations: 7.922 kB / 1.106 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3135, allocations: 0 / 1.106 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.3135, allocations: 0 / 1.106 GB, free: 4.137 MB / 0.8575 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.001743/0.3153, allocations: 1.049 MB / 1.107 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3153, allocations: 12.03 kB / 1.107 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.3175, allocations: 310.6 kB / 1.107 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.3187, allocations: 0.7184 MB / 1.108 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.3188, allocations: 57.25 kB / 1.108 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-05/0.3189, allocations: 56 kB / 1.108 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.3206, allocations: 0.8031 MB / 1.109 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.3206, allocations: 0 / 1.109 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/0.3207, allocations: 24 kB / 1.109 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/0.3207, allocations: 23.94 kB / 1.109 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.3226, allocations: 0.6334 MB / 1.11 GB, free: 312 kB / 0.8575 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.004636/0.3273, allocations: 3.946 MB / 1.113 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.329, allocations: 476.6 kB / 1.114 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007468/0.3297, allocations: 216.7 kB / 1.114 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006043/0.3303, allocations: 0.5298 MB / 1.115 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.961e-05/0.3304, allocations: 42.5 kB / 1.115 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.763e-06/0.3304, allocations: 0 / 1.115 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.002739/0.3332, allocations: 0.8129 MB / 1.115 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.3333, allocations: 106.8 kB / 1.116 GB, free: 9.719 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006733/0.3339, allocations: 0.5782 MB / 1.116 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.3341, allocations: 33.7 kB / 1.116 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.3344, allocations: 387.7 kB / 1.117 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.3345, allocations: 94.59 kB / 1.117 GB, free: 8.613 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.3345, allocations: 8 kB / 1.117 GB, free: 8.605 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002129/0.3348, allocations: 366.8 kB / 1.117 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00076/0.3355, allocations: 208.7 kB / 1.117 GB, free: 8.035 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008479/0.3364, allocations: 371.9 kB / 1.118 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007977/0.3372, allocations: 249.2 kB / 1.118 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3372, allocations: 0 / 1.118 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001918/0.3391, allocations: 0.6638 MB / 1.118 GB, free: 6.691 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3392, allocations: 12.06 kB / 1.118 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.3392, allocations: 7.938 kB / 1.118 GB, free: 6.672 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002366/0.3394, allocations: 64.77 kB / 1.119 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/0.3401, allocations: 139.8 kB / 1.119 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004367/0.3406, allocations: 0.6148 MB / 1.119 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007741/0.3414, allocations: 115.5 kB / 1.119 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/0.3414, allocations: 23.98 kB / 1.119 GB, free: 5.691 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002981/0.3417, allocations: 222.3 kB / 1.12 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.3418, allocations: 71.2 kB / 1.12 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/0.3439, allocations: 0.6558 MB / 1.12 GB, free: 4.727 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.3439, allocations: 7.938 kB / 1.12 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3439, allocations: 0 / 1.12 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001664/0.3456, allocations: 0.7102 MB / 1.121 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002696/0.3483, allocations: 1.306 MB / 1.122 GB, free: 2.555 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.3483, allocations: 4 kB / 1.122 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005308/0.3489, allocations: 91.98 kB / 1.122 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/0.3491, allocations: 52.83 kB / 1.122 GB, free: 2.406 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.3491, allocations: 11.98 kB / 1.122 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004549/0.3496, allocations: 0.6147 MB / 1.123 GB, free: 1.754 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3496, allocations: 4.031 kB / 1.123 GB, free: 1.75 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/0.3522, allocations: 0.9065 MB / 1.124 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/0.3525, allocations: 212.1 kB / 1.124 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.3527, allocations: 4.062 kB / 1.124 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008402/0.3535, allocations: 87.81 kB / 1.124 GB, free: 0.4922 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.809e-05/0.3536, allocations: 15.97 kB / 1.124 GB, free: 488 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-05/0.3536, allocations: 27.97 kB / 1.124 GB, free: 460 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005539/0.3542, allocations: 411.1 kB / 1.125 GB, free: 52 kB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/0.3542, allocations: 4 kB / 1.125 GB, free: 48 kB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009064/0.3551, allocations: 271.5 kB / 1.125 GB, free: 15.78 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006303/0.3558, allocations: 299.5 kB / 1.125 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001761/0.3575, allocations: 0.5084 MB / 1.126 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3576, allocations: 0 / 1.126 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008535/0.3584, allocations: 246.4 kB / 1.126 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.3599, allocations: 323.9 kB / 1.126 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.3625, allocations: 1.559 MB / 1.128 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005942/0.3631, allocations: 0.9292 MB / 1.129 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006391/0.3638, allocations: 149.1 kB / 1.129 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.364, allocations: 71.38 kB / 1.129 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of SimCode: time 3.3e-07/0.364, allocations: 0 / 1.129 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of Templates: time 0.0222/0.3862, allocations: 13.31 MB / 1.142 GB, free: 14.53 MB / 0.9044 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