Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009513/0.0009513, allocations: 81.64 kB / 19.87 MB, free: 4.613 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009139/0.0009139, allocations: 169 kB / 23.28 MB, free: 1.215 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9465/0.9465, allocations: 177.2 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.238/2.238, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.8897 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.039e-05, allocations: 6.312 kB / 0.8897 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1253/0.1253, allocations: 134.2 MB / 1.021 GB, free: 2.969 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.007627/0.133, allocations: 7.029 MB / 1.028 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008461/0.1338, allocations: 23.81 kB / 1.028 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006072/0.1344, allocations: 194.5 kB / 1.028 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.137, allocations: 1.123 MB / 1.029 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002564/0.1395, allocations: 1.305 MB / 1.03 GB, free: 9.262 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001552/0.1411, allocations: 1.375 MB / 1.032 GB, free: 7.879 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006322/0.1417, allocations: 382.3 kB / 1.032 GB, free: 7.504 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.1431, allocations: 0.9151 MB / 1.033 GB, free: 6.586 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.1448, allocations: 1.227 MB / 1.034 GB, free: 5.355 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.1449, allocations: 52 kB / 1.034 GB, free: 5.305 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.1466, allocations: 1.225 MB / 1.035 GB, free: 4.078 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.1467, allocations: 163.4 kB / 1.035 GB, free: 3.918 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.147, allocations: 255.4 kB / 1.036 GB, free: 3.668 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.1487, allocations: 1.332 MB / 1.037 GB, free: 2.332 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1488, allocations: 0 / 1.037 GB, free: 2.332 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1488, allocations: 0 / 1.037 GB, free: 2.332 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.1488, allocations: 4 kB / 1.037 GB, free: 2.328 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001214/0.15, allocations: 0.9821 MB / 1.038 GB, free: 1.309 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.15, allocations: 8.625 kB / 1.038 GB, free: 1.301 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006114/0.1506, allocations: 235.9 kB / 1.038 GB, free: 1.07 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.151, allocations: 382.7 kB / 1.039 GB, free: 0.668 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.1511, allocations: 37.69 kB / 1.039 GB, free: 0.6289 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.688e-05/0.1511, allocations: 56.38 kB / 1.039 GB, free: 0.5742 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000691/0.1518, allocations: 0.8743 MB / 1.04 GB, free: 15.55 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.1518, allocations: 7.875 kB / 1.04 GB, free: 15.55 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.1519, allocations: 24 kB / 1.04 GB, free: 15.52 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.1519, allocations: 12 kB / 1.04 GB, free: 15.51 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/0.1522, allocations: 222.7 kB / 1.04 GB, free: 15.29 MB / 1.01 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.001976/0.1541, allocations: 2.677 MB / 1.042 GB, free: 12.53 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.1544, allocations: 170.9 kB / 1.043 GB, free: 12.35 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.339e-05/0.1545, allocations: 92.45 kB / 1.043 GB, free: 12.25 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002808/0.1573, allocations: 1.383 MB / 1.044 GB, free: 10.87 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.1573, allocations: 41.39 kB / 1.044 GB, free: 10.82 MB / 1.01 GB Notification: Performance of pre-optimization done (n=36): time 3.336e-06/0.1573, allocations: 7.984 kB / 1.044 GB, free: 10.81 MB / 1.01 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volDyn.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=52): time 0.01913/0.1765, allocations: 7.91 MB / 1.052 GB, free: 2.883 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.1765, allocations: 133 kB / 1.052 GB, free: 2.723 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.1768, allocations: 370.4 kB / 1.052 GB, free: 2.344 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.1768, allocations: 37.7 kB / 1.052 GB, free: 2.301 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.177, allocations: 351.4 kB / 1.053 GB, free: 1.953 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.1771, allocations: 194.3 kB / 1.053 GB, free: 1.762 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.1772, allocations: 115.9 kB / 1.053 GB, free: 1.637 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1774, allocations: 0.5273 MB / 1.053 GB, free: 1.098 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.1775, allocations: 101.2 kB / 1.054 GB, free: 1 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.1777, allocations: 362.6 kB / 1.054 GB, free: 0.5547 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.1781, allocations: 389.4 kB / 1.054 GB, free: 116 kB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.738e-06/0.1781, allocations: 4 kB / 1.054 GB, free: 112 kB / 1.01 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.488/0.6661, allocations: 0.55 MB / 1.055 GB, free: 72.64 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.6661, allocations: 8.75 kB / 1.055 GB, free: 72.64 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.6661, allocations: 3.875 kB / 1.055 GB, free: 72.64 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002892/0.6664, allocations: 108.5 kB / 1.055 GB, free: 72.62 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.6667, allocations: 123 kB / 1.055 GB, free: 72.62 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.6682, allocations: 4.047 MB / 1.059 GB, free: 68.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.6684, allocations: 28.59 kB / 1.059 GB, free: 68.79 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.6685, allocations: 23.58 kB / 1.059 GB, free: 68.79 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.6686, allocations: 187.9 kB / 1.059 GB, free: 68.63 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.6688, allocations: 89.77 kB / 1.059 GB, free: 68.63 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007095/0.6695, allocations: 0.5712 MB / 1.06 GB, free: 68.54 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.6695, allocations: 5.531 kB / 1.06 GB, free: 68.54 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.6695, allocations: 0 / 1.06 GB, free: 68.54 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.6696, allocations: 3.328 kB / 1.06 GB, free: 68.54 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.6708, allocations: 1.121 MB / 1.061 GB, free: 68.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.6708, allocations: 6.781 kB / 1.061 GB, free: 68.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.671, allocations: 95.47 kB / 1.061 GB, free: 68.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001585/0.6712, allocations: 69.95 kB / 1.061 GB, free: 68.07 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.6712, allocations: 16.66 kB / 1.061 GB, free: 68.07 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006735/0.6719, allocations: 2.037 MB / 1.063 GB, free: 66.15 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.6719, allocations: 8.938 kB / 1.063 GB, free: 66.15 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006826/0.6726, allocations: 0.7319 MB / 1.064 GB, free: 65.75 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.6726, allocations: 46.03 kB / 1.064 GB, free: 65.73 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.6726, allocations: 12.92 kB / 1.064 GB, free: 65.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.6728, allocations: 23.78 kB / 1.064 GB, free: 65.73 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.6729, allocations: 45.66 kB / 1.064 GB, free: 65.73 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.6729, allocations: 20.67 kB / 1.064 GB, free: 65.73 MB / 1.01 GB Notification: Performance of sorting global known variables: time 9.964e-05/0.673, allocations: 249.3 kB / 1.064 GB, free: 65.61 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.1e-08/0.673, allocations: 0 / 1.064 GB, free: 65.61 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001842/0.6748, allocations: 0.7629 MB / 1.065 GB, free: 65.61 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.VWat,volSte.VWat) * 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 (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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002214/0.6771, allocations: 482 kB / 1.065 GB, free: 65.52 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007219/0.6778, allocations: 0.6844 MB / 1.066 GB, free: 65.16 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.6778, allocations: 1.031 kB / 1.066 GB, free: 65.16 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.678, allocations: 342.9 kB / 1.066 GB, free: 64.97 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007207/0.6787, allocations: 263.9 kB / 1.067 GB, free: 64.96 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.6801, allocations: 1.069 MB / 1.068 GB, free: 64.37 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.642e-05/0.6802, allocations: 136.1 kB / 1.068 GB, free: 64.29 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003351/0.6805, allocations: 122.4 kB / 1.068 GB, free: 64.29 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/0.6809, allocations: 306.9 kB / 1.068 GB, free: 64.22 MB / 1.01 GB Notification: Performance of SimCode: time 1.243e-06/0.6809, allocations: 0.8125 kB / 1.068 GB, free: 64.22 MB / 1.01 GB Notification: Performance of Templates: time 0.05887/0.7398, allocations: 39.22 MB / 1.107 GB, free: 62.91 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.7923971097916365]