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.001171/0.001171, allocations: 99.55 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.001377/0.001377, allocations: 177.3 kB / 15.94 MB, free: 228 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.313/1.313, allocations: 223.2 MB / 239.9 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.513/2.513, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003351, allocations: 12 kB / 0.8707 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7333/0.7336, allocations: 153.6 MB / 1.021 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03027/0.7639, allocations: 30.06 MB / 1.05 GB, free: 2.941 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.009859/0.7738, allocations: 6.629 MB / 1.057 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.7749, allocations: 23.81 kB / 1.057 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.7761, allocations: 358.2 kB / 1.057 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003227/0.7793, allocations: 1.121 MB / 1.058 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002985/0.7823, allocations: 1.029 MB / 1.059 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002162/0.7845, allocations: 1.253 MB / 1.06 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008398/0.7853, allocations: 0.5349 MB / 1.061 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.7866, allocations: 0.6579 MB / 1.061 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005565/0.7872, allocations: 402.2 kB / 1.062 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.852e-05/0.7873, allocations: 32 kB / 1.062 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.7885, allocations: 443.4 kB / 1.062 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.7887, allocations: 143.5 kB / 1.062 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.7889, allocations: 197.3 kB / 1.063 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.7901, allocations: 0.9994 MB / 1.064 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.7901, allocations: 0 / 1.064 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7901, allocations: 0 / 1.064 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.7901, allocations: 0 / 1.064 GB, free: 5.125 MB / 0.8106 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.001802/0.7919, allocations: 1.036 MB / 1.065 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.7919, allocations: 11.98 kB / 1.065 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/0.7943, allocations: 306.7 kB / 1.065 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.7956, allocations: 0.6949 MB / 1.066 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.7956, allocations: 45.31 kB / 1.066 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.7957, allocations: 59.95 kB / 1.066 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.7975, allocations: 0.8031 MB / 1.066 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.7975, allocations: 0 / 1.066 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.419e-05/0.7976, allocations: 27.98 kB / 1.067 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-05/0.7977, allocations: 23.98 kB / 1.067 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.7997, allocations: 0.6334 MB / 1.067 GB, free: 1.336 MB / 0.8106 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.005029/0.8047, allocations: 4.016 MB / 1.071 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.8066, allocations: 478.6 kB / 1.072 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000647/0.8072, allocations: 0.5376 MB / 1.072 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.8073, allocations: 34.56 kB / 1.072 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 2.344e-06/0.8073, allocations: 0 / 1.072 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.003002/0.8103, allocations: 0.8097 MB / 1.073 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.8104, allocations: 110.8 kB / 1.073 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007342/0.8111, allocations: 0.5977 MB / 1.074 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.16e-05/0.8112, allocations: 33.7 kB / 1.074 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.8115, allocations: 391.6 kB / 1.074 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.577e-05/0.8116, allocations: 90.73 kB / 1.074 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.8116, allocations: 12 kB / 1.074 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.8118, allocations: 362.8 kB / 1.074 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008228/0.8126, allocations: 208.7 kB / 1.075 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009234/0.8135, allocations: 368.6 kB / 1.075 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008725/0.8144, allocations: 249.2 kB / 1.075 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.8144, allocations: 0 / 1.075 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002072/0.8165, allocations: 0.6746 MB / 1.076 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.8166, allocations: 8 kB / 1.076 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.8166, allocations: 4 kB / 1.076 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/0.8168, allocations: 60.81 kB / 1.076 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000755/0.8176, allocations: 139.9 kB / 1.076 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004764/0.8181, allocations: 0.6147 MB / 1.077 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008769/0.819, allocations: 115.5 kB / 1.077 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.819, allocations: 31.98 kB / 1.077 GB, free: 6.836 MB / 0.8262 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.0003501/0.8194, allocations: 225.6 kB / 1.077 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.8195, allocations: 63.2 kB / 1.077 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.8216, allocations: 0.6395 MB / 1.078 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.8217, allocations: 8.031 kB / 1.078 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8217, allocations: 3.938 kB / 1.078 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001812/0.8235, allocations: 0.7257 MB / 1.078 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002874/0.8264, allocations: 1.31 MB / 1.08 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.8264, allocations: 0 / 1.08 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005649/0.827, allocations: 84.05 kB / 1.08 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002029/0.8272, allocations: 56.77 kB / 1.08 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.8272, allocations: 19.97 kB / 1.08 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004372/0.8277, allocations: 0.6188 MB / 1.08 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8277, allocations: 0 / 1.08 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/0.8305, allocations: 0.9651 MB / 1.081 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00035/0.8308, allocations: 212.2 kB / 1.082 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.831, allocations: 8 kB / 1.082 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008483/0.8318, allocations: 91.78 kB / 1.082 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.8319, allocations: 31.86 kB / 1.082 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.05e-05/0.8319, allocations: 23.97 kB / 1.082 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005539/0.8325, allocations: 431 kB / 1.082 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8325, allocations: 0 / 1.082 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009597/0.8335, allocations: 283.4 kB / 1.082 GB, free: 0.7891 MB / 0.8262 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.0006425/0.8341, allocations: 295.1 kB / 1.083 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001961/0.8361, allocations: 0.5082 MB / 1.083 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8361, allocations: 256 / 1.083 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009141/0.837, allocations: 254.8 kB / 1.083 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.8386, allocations: 309.9 kB / 1.084 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.8414, allocations: 1.56 MB / 1.085 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.8419, allocations: 0.9448 MB / 1.086 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006367/0.8426, allocations: 149 kB / 1.086 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.8427, allocations: 67.39 kB / 1.086 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of SimCode: time 5.51e-07/0.8427, allocations: 4 kB / 1.086 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of Templates: time 0.02259/0.8653, allocations: 13.62 MB / 1.1 GB, free: 15.21 MB / 0.8575 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","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches