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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001074/0.001074, allocations: 92.31 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.00141/0.00141, 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.365/1.365, allocations: 223.3 MB / 240 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.399/2.399, allocations: 390.9 MB / 0.666 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003447, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7288/0.7291, allocations: 142.4 MB / 0.9544 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03541/0.7646, allocations: 33.04 MB / 0.9867 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01135/0.776, allocations: 7.52 MB / 0.994 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.7774, allocations: 27.81 kB / 0.9941 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.7785, allocations: 298.1 kB / 0.9944 GB, free: 6.555 MB / 0.7481 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.003447/0.7819, allocations: 1.129 MB / 0.9955 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002485/0.7844, allocations: 0.8502 MB / 0.9963 GB, free: 4.586 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003189/0.7876, allocations: 2.423 MB / 0.9987 GB, free: 2.156 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009764/0.7886, allocations: 0.527 MB / 0.9992 GB, free: 1.613 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.7902, allocations: 0.7155 MB / 0.9999 GB, free: 0.8945 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007674/0.791, allocations: 0.5601 MB / 1 GB, free: 340 kB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 8.183e-05/0.791, allocations: 32 kB / 1 GB, free: 308 kB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.7926, allocations: 0.5732 MB / 1.001 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.7927, allocations: 151.3 kB / 1.001 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.793, allocations: 193.3 kB / 1.001 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.7944, allocations: 1.097 MB / 1.002 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.7944, allocations: 0 / 1.002 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7944, allocations: 0 / 1.002 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.7944, allocations: 4 kB / 1.002 GB, free: 14.28 MB / 0.7637 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.001738/0.7962, allocations: 1.061 MB / 1.003 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.7962, allocations: 8.031 kB / 1.003 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/0.7983, allocations: 318.6 kB / 1.004 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.7996, allocations: 0.7296 MB / 1.004 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/0.7996, allocations: 41.31 kB / 1.005 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.949e-05/0.7997, allocations: 56 kB / 1.005 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.8014, allocations: 0.807 MB / 1.005 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.8015, allocations: 0 / 1.005 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.968e-05/0.8016, allocations: 28 kB / 1.005 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.269e-05/0.8016, allocations: 19.94 kB / 1.005 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.8035, allocations: 0.6295 MB / 1.006 GB, free: 10.44 MB / 0.7637 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.00482/0.8083, allocations: 3.954 MB / 1.01 GB, free: 6.199 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.81, allocations: 476.2 kB / 1.01 GB, free: 5.727 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007403/0.8107, allocations: 216.7 kB / 1.011 GB, free: 5.512 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000613/0.8114, allocations: 0.5376 MB / 1.011 GB, free: 4.863 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.8114, allocations: 46.5 kB / 1.011 GB, free: 4.809 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=26): time 2.334e-06/0.8114, allocations: 0 / 1.011 GB, free: 4.809 MB / 0.7637 GB Notification: Performance of matching and sorting (n=26): time 0.002864/0.8143, allocations: 0.8091 MB / 1.012 GB, free: 3.973 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.8144, allocations: 106.8 kB / 1.012 GB, free: 3.844 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007673/0.8151, allocations: 0.5704 MB / 1.013 GB, free: 3.262 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/0.8152, allocations: 29.7 kB / 1.013 GB, free: 3.227 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.8155, allocations: 391.6 kB / 1.013 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.414e-05/0.8156, allocations: 98.64 kB / 1.013 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.8157, allocations: 8 kB / 1.013 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.8158, allocations: 366.8 kB / 1.013 GB, free: 2.367 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007588/0.8166, allocations: 216.7 kB / 1.014 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008587/0.8175, allocations: 363.9 kB / 1.014 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008241/0.8183, allocations: 249.2 kB / 1.014 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.8183, allocations: 0 / 1.014 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001901/0.8202, allocations: 0.6743 MB / 1.015 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.8203, allocations: 4 kB / 1.015 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.8203, allocations: 8 kB / 1.015 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002929/0.8206, allocations: 61.23 kB / 1.015 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006851/0.8213, allocations: 139.8 kB / 1.015 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005315/0.8218, allocations: 0.6186 MB / 1.016 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008463/0.8227, allocations: 115.5 kB / 1.016 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.8227, allocations: 27.97 kB / 1.016 GB, free: 15.81 MB / 0.7794 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.0003565/0.8231, allocations: 217.7 kB / 1.016 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.8232, allocations: 63.25 kB / 1.016 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/0.8251, allocations: 0.6479 MB / 1.017 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.8252, allocations: 7.938 kB / 1.017 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.8252, allocations: 0 / 1.017 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001625/0.8268, allocations: 0.7189 MB / 1.017 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/0.8294, allocations: 1.294 MB / 1.019 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.8295, allocations: 7.953 kB / 1.019 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/0.83, allocations: 83.83 kB / 1.019 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002288/0.8302, allocations: 56.98 kB / 1.019 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.8303, allocations: 15.97 kB / 1.019 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004333/0.8307, allocations: 0.6149 MB / 1.019 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.8307, allocations: 4.031 kB / 1.019 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.8332, allocations: 0.9135 MB / 1.02 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/0.8335, allocations: 204.2 kB / 1.021 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.8336, allocations: 7.984 kB / 1.021 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007468/0.8343, allocations: 83.92 kB / 1.021 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.8344, allocations: 19.97 kB / 1.021 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.407e-05/0.8345, allocations: 27.92 kB / 1.021 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005652/0.8351, allocations: 411.1 kB / 1.021 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.8351, allocations: 4 kB / 1.021 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001006/0.8361, allocations: 283.3 kB / 1.021 GB, free: 9.906 MB / 0.7794 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.0006547/0.8367, allocations: 301.6 kB / 1.022 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.8385, allocations: 0.5127 MB / 1.022 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.8385, allocations: 0 / 1.022 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008231/0.8394, allocations: 248.3 kB / 1.022 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.8409, allocations: 320.6 kB / 1.023 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.8436, allocations: 1.564 MB / 1.024 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.8441, allocations: 0.9214 MB / 1.025 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006703/0.8448, allocations: 145.1 kB / 1.025 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.845, allocations: 67.39 kB / 1.025 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of SimCode: time 1.473e-06/0.845, allocations: 0 / 1.025 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of Templates: time 0.02255/0.8675, allocations: 13.31 MB / 1.038 GB, free: 8.664 MB / 0.795 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