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.0009589/0.0009589, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.002042/0.002042, allocations: 173 kB / 23.03 MB, free: 1.543 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.8882/0.8882, allocations: 177.1 MB / 203.4 MB, free: 5.629 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 1.927/1.927, allocations: 429.5 MB / 0.6733 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 178] 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.102e-06/1.102e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.725e-05, allocations: 5.656 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1082/0.1082, allocations: 136.8 MB / 1.012 GB, free: 13.01 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.006417/0.1146, allocations: 7.087 MB / 1.019 GB, free: 5.898 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003357/0.1149, allocations: 23.81 kB / 1.019 GB, free: 5.875 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004687/0.1154, allocations: 194.4 kB / 1.019 GB, free: 5.684 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.117, allocations: 1.127 MB / 1.02 GB, free: 4.551 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.1188, allocations: 1.309 MB / 1.021 GB, free: 3.238 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001206/0.12, allocations: 1.383 MB / 1.023 GB, free: 1.848 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004175/0.1205, allocations: 370.3 kB / 1.023 GB, free: 1.48 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009899/0.1215, allocations: 0.919 MB / 1.024 GB, free: 0.5586 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/0.123, allocations: 1.216 MB / 1.025 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.851e-05/0.1231, allocations: 52 kB / 1.025 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.1244, allocations: 1.229 MB / 1.026 GB, free: 14.06 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.1245, allocations: 159.4 kB / 1.026 GB, free: 13.9 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.1247, allocations: 255.4 kB / 1.027 GB, free: 13.65 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.1259, allocations: 1.328 MB / 1.028 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1259, allocations: 4 kB / 1.028 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1259, allocations: 0 / 1.028 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.1259, allocations: 0 / 1.028 GB, free: 12.32 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.001262/0.1272, allocations: 0.9783 MB / 1.029 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1272, allocations: 8.031 kB / 1.029 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006031/0.1278, allocations: 239.9 kB / 1.029 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.1282, allocations: 386.8 kB / 1.03 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.1282, allocations: 37.69 kB / 1.03 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-05/0.1283, allocations: 64.33 kB / 1.03 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007108/0.129, allocations: 0.9086 MB / 1.031 GB, free: 9.5 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.129, allocations: 3.938 kB / 1.031 GB, free: 9.496 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.1291, allocations: 24 kB / 1.031 GB, free: 9.473 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1291, allocations: 12 kB / 1.031 GB, free: 9.461 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003575/0.1294, allocations: 277.6 kB / 1.031 GB, free: 9.191 MB / 0.9948 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.001778/0.1312, allocations: 2.747 MB / 1.034 GB, free: 6.352 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.1315, allocations: 194.8 kB / 1.034 GB, free: 6.148 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.1316, allocations: 95.64 kB / 1.034 GB, free: 6.051 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003014/0.1346, allocations: 1.738 MB / 1.036 GB, free: 4.309 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.1346, allocations: 41.39 kB / 1.036 GB, free: 4.258 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=36): time 1.282e-06/0.1346, allocations: 0 / 1.036 GB, free: 4.258 MB / 0.9948 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.02188/0.1565, allocations: 9.845 MB / 1.045 GB, free: 10.39 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.1566, allocations: 140.9 kB / 1.045 GB, free: 10.22 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.1568, allocations: 378.6 kB / 1.046 GB, free: 9.836 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.1569, allocations: 37.7 kB / 1.046 GB, free: 9.793 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.157, allocations: 347.4 kB / 1.046 GB, free: 9.449 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.583e-05/0.1571, allocations: 186.4 kB / 1.046 GB, free: 9.266 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.1572, allocations: 115.9 kB / 1.046 GB, free: 9.141 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1573, allocations: 0.5274 MB / 1.047 GB, free: 8.602 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.1575, allocations: 125.2 kB / 1.047 GB, free: 8.48 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.1578, allocations: 390.8 kB / 1.047 GB, free: 8.008 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/0.1582, allocations: 441.4 kB / 1.048 GB, free: 7.52 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1582, allocations: 7.938 kB / 1.048 GB, free: 7.512 MB / 1.01 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008686/0.1591, allocations: 0.6131 MB / 1.048 GB, free: 6.879 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1591, allocations: 7.938 kB / 1.048 GB, free: 6.871 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1591, allocations: 4 kB / 1.048 GB, free: 6.867 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003204/0.1595, allocations: 115.6 kB / 1.048 GB, free: 6.746 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.1597, allocations: 119.8 kB / 1.049 GB, free: 6.629 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.1619, allocations: 4.106 MB / 1.053 GB, free: 2.285 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.1621, allocations: 23.98 kB / 1.053 GB, free: 2.262 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.1622, allocations: 23.98 kB / 1.053 GB, free: 2.238 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.0001578/0.1623, allocations: 200.3 kB / 1.053 GB, free: 2.031 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.1625, allocations: 87.41 kB / 1.053 GB, free: 1.945 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008031/0.1633, allocations: 0.5973 MB / 1.054 GB, free: 1.328 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1633, allocations: 4 kB / 1.054 GB, free: 1.324 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.1633, allocations: 0 / 1.054 GB, free: 1.324 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1633, allocations: 3.984 kB / 1.054 GB, free: 1.32 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3781/0.5414, allocations: 1.236 MB / 1.055 GB, free: 79.94 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.5414, allocations: 3.406 kB / 1.055 GB, free: 79.94 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.5418, allocations: 94.28 kB / 1.055 GB, free: 79.94 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000209/0.542, allocations: 70.86 kB / 1.055 GB, free: 79.93 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.542, allocations: 17.44 kB / 1.055 GB, free: 79.93 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008143/0.5428, allocations: 2.065 MB / 1.057 GB, free: 78 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.5428, allocations: 3.625 kB / 1.057 GB, free: 78 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008705/0.5437, allocations: 0.7874 MB / 1.058 GB, free: 77.65 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.5437, allocations: 36.55 kB / 1.058 GB, free: 77.65 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.5438, allocations: 23.77 kB / 1.058 GB, free: 77.65 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.544, allocations: 22.67 kB / 1.058 GB, free: 77.65 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.5441, allocations: 37.19 kB / 1.058 GB, free: 77.65 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.5441, allocations: 29.52 kB / 1.058 GB, free: 77.65 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001386/0.5442, allocations: 258.8 kB / 1.058 GB, free: 77.52 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.5442, allocations: 1.156 kB / 1.058 GB, free: 77.52 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001668/0.5459, allocations: 0.7605 MB / 1.059 GB, free: 77.52 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.002092/0.548, allocations: 480.7 kB / 1.059 GB, free: 77.44 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007331/0.5487, allocations: 0.7288 MB / 1.06 GB, free: 77.09 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5487, allocations: 3.469 kB / 1.06 GB, free: 77.09 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.549, allocations: 351.7 kB / 1.06 GB, free: 76.91 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00066/0.5496, allocations: 258.8 kB / 1.061 GB, free: 76.91 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.5509, allocations: 1.084 MB / 1.062 GB, free: 76.32 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.5e-05/0.551, allocations: 138.7 kB / 1.062 GB, free: 76.25 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002787/0.5512, allocations: 126.5 kB / 1.062 GB, free: 76.25 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.5513, allocations: 54.53 kB / 1.062 GB, free: 76.25 MB / 1.01 GB Notification: Performance of SimCode: time 7.21e-07/0.5514, allocations: 0 / 1.062 GB, free: 76.25 MB / 1.01 GB Notification: Performance of Templates: time 0.04262/0.594, allocations: 39.28 MB / 1.1 GB, free: 74.86 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: 8.973133452236652]