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.0009521/0.0009521, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009648/0.0009648, allocations: 177.3 kB / 15.95 MB, free: 216 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.371/1.371, allocations: 223.2 MB / 239.9 MB, free: 5.453 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.435/2.435, allocations: 390.2 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003635, allocations: 12 kB / 0.8145 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8245/0.8248, allocations: 142.3 MB / 0.9535 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03069/0.8556, allocations: 30.07 MB / 0.9829 GB, free: 500 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0112/0.8668, allocations: 6.61 MB / 0.9893 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.8685, allocations: 28.16 kB / 0.9893 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.8699, allocations: 358.8 kB / 0.9897 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004258/0.8741, allocations: 1.12 MB / 0.9908 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003422/0.8776, allocations: 1.021 MB / 0.9918 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002807/0.8804, allocations: 1.252 MB / 0.993 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008982/0.8813, allocations: 0.5349 MB / 0.9935 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.8828, allocations: 0.6656 MB / 0.9942 GB, free: 6.441 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005583/0.8834, allocations: 406.2 kB / 0.9946 GB, free: 6.043 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.948e-05/0.8835, allocations: 32 kB / 0.9946 GB, free: 6.012 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.8849, allocations: 435.4 kB / 0.995 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.885, allocations: 143.5 kB / 0.9951 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.8853, allocations: 197.3 kB / 0.9953 GB, free: 5.246 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.8864, allocations: 0.9878 MB / 0.9963 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.8864, allocations: 8 kB / 0.9963 GB, free: 4.25 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8864, allocations: 7.875 kB / 0.9963 GB, free: 4.242 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.8864, allocations: 0 / 0.9963 GB, free: 4.242 MB / 0.7481 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.001696/0.8881, allocations: 1.034 MB / 0.9973 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.8882, allocations: 8.031 kB / 0.9973 GB, free: 3.145 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/0.8904, allocations: 314.6 kB / 0.9976 GB, free: 2.836 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.8916, allocations: 0.6949 MB / 0.9983 GB, free: 2.102 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/0.8917, allocations: 41.31 kB / 0.9983 GB, free: 2.059 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.8918, allocations: 60 kB / 0.9984 GB, free: 2 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.8935, allocations: 0.8031 MB / 0.9992 GB, free: 1.141 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.8935, allocations: 3.938 kB / 0.9992 GB, free: 1.137 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.467e-05/0.8936, allocations: 32 kB / 0.9992 GB, free: 1.105 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/0.8936, allocations: 16 kB / 0.9992 GB, free: 1.09 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.8955, allocations: 0.6334 MB / 0.9999 GB, free: 464 kB / 0.7481 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.004755/0.9003, allocations: 4.017 MB / 1.004 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.9021, allocations: 478.6 kB / 1.004 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006264/0.9027, allocations: 0.5337 MB / 1.005 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.9028, allocations: 38.56 kB / 1.005 GB, free: 10.97 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=26): time 2.685e-06/0.9028, allocations: 0 / 1.005 GB, free: 10.97 MB / 0.7637 GB Notification: Performance of matching and sorting (n=26): time 0.002921/0.9057, allocations: 0.8041 MB / 1.006 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.9058, allocations: 110.8 kB / 1.006 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007841/0.9066, allocations: 0.5977 MB / 1.006 GB, free: 9.402 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.181e-05/0.9066, allocations: 33.7 kB / 1.006 GB, free: 9.363 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.9069, allocations: 387.6 kB / 1.007 GB, free: 8.98 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.492e-05/0.907, allocations: 94.73 kB / 1.007 GB, free: 8.887 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.9071, allocations: 12 kB / 1.007 GB, free: 8.875 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.9072, allocations: 366.8 kB / 1.007 GB, free: 8.508 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007784/0.908, allocations: 212.7 kB / 1.007 GB, free: 8.301 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008701/0.9089, allocations: 365.8 kB / 1.008 GB, free: 7.879 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008252/0.9097, allocations: 249.1 kB / 1.008 GB, free: 7.637 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.9098, allocations: 3.953 kB / 1.008 GB, free: 7.633 MB / 0.7637 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001981/0.9117, allocations: 0.6743 MB / 1.009 GB, free: 6.949 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.9118, allocations: 9.094 kB / 1.009 GB, free: 6.941 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.9118, allocations: 4 kB / 1.009 GB, free: 6.938 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002878/0.9121, allocations: 61.23 kB / 1.009 GB, free: 6.875 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006915/0.9128, allocations: 135.8 kB / 1.009 GB, free: 6.742 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004869/0.9133, allocations: 0.6187 MB / 1.009 GB, free: 6.098 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009106/0.9142, allocations: 115.4 kB / 1.009 GB, free: 5.984 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-05/0.9143, allocations: 31.92 kB / 1.01 GB, free: 5.953 MB / 0.7637 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.0004263/0.9147, allocations: 222.7 kB / 1.01 GB, free: 5.727 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.9148, allocations: 63.19 kB / 1.01 GB, free: 5.664 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/0.9169, allocations: 0.6418 MB / 1.01 GB, free: 5.008 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.9169, allocations: 8 kB / 1.01 GB, free: 5 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.9169, allocations: 0 / 1.01 GB, free: 5 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001722/0.9186, allocations: 0.7201 MB / 1.011 GB, free: 4.211 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.9214, allocations: 1.314 MB / 1.012 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.9215, allocations: 0 / 1.012 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005399/0.922, allocations: 87.8 kB / 1.012 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00021/0.9222, allocations: 65.03 kB / 1.013 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.9223, allocations: 19.92 kB / 1.013 GB, free: 2.652 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004238/0.9227, allocations: 0.607 MB / 1.013 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9227, allocations: 0 / 1.013 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/0.9254, allocations: 0.9764 MB / 1.014 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004577/0.9259, allocations: 216.3 kB / 1.014 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.926, allocations: 4 kB / 1.014 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008116/0.9268, allocations: 87.84 kB / 1.014 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.9269, allocations: 11.98 kB / 1.014 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.927, allocations: 31.89 kB / 1.014 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005839/0.9275, allocations: 431.1 kB / 1.015 GB, free: 200 kB / 0.7637 GB Notification: Performance of sort global known variables: time 3.8e-07/0.9276, allocations: 4 kB / 1.015 GB, free: 196 kB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00107/0.9286, allocations: 283.4 kB / 1.015 GB, free: 15.91 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.0007141/0.9294, allocations: 306.7 kB / 1.015 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001879/0.9312, allocations: 0.5117 MB / 1.016 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.9313, allocations: 0 / 1.016 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008683/0.9321, allocations: 252.2 kB / 1.016 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.9337, allocations: 314.3 kB / 1.016 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.9365, allocations: 1.558 MB / 1.018 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.9369, allocations: 0.937 MB / 1.019 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006463/0.9376, allocations: 145.1 kB / 1.019 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.9377, allocations: 71.38 kB / 1.019 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of SimCode: time 4.1e-07/0.9377, allocations: 0 / 1.019 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of Templates: time 0.02479/0.9625, allocations: 13.62 MB / 1.032 GB, free: 14.33 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","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches