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.001803/0.001803, allocations: 89.48 kB / 19.44 MB, free: 336 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.001963/0.001963, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 3.521/3.521, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] 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.964e-06/1.964e-06, allocations: 0 / 0.8774 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.319e-05, allocations: 3.875 kB / 0.8774 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.2593/0.2594, allocations: 159.1 MB / 1.033 GB, free: 6.859 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01442/0.2738, allocations: 8.922 MB / 1.042 GB, free: 13.9 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007842/0.2746, allocations: 23.81 kB / 1.042 GB, free: 13.88 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.2757, allocations: 333.7 kB / 1.042 GB, free: 13.55 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003234/0.2789, allocations: 1.166 MB / 1.043 GB, free: 12.38 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.005815/0.2848, allocations: 2.165 MB / 1.045 GB, free: 10.21 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002266/0.287, allocations: 1.403 MB / 1.047 GB, free: 8.801 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007642/0.2878, allocations: 378.3 kB / 1.047 GB, free: 8.43 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006496/0.2943, allocations: 2.412 MB / 1.049 GB, free: 6.008 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003472/0.2978, allocations: 1.227 MB / 1.05 GB, free: 4.777 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.298, allocations: 52 kB / 1.05 GB, free: 4.727 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006199/0.3041, allocations: 2.805 MB / 1.053 GB, free: 1.918 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003484/0.3045, allocations: 163.4 kB / 1.053 GB, free: 1.758 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006211/0.3051, allocations: 255.4 kB / 1.054 GB, free: 1.508 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.5252/0.8303, allocations: 2.669 MB / 1.056 GB, free: 56.7 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.8303, allocations: 2.812 kB / 1.056 GB, free: 56.7 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.624e-06/0.8303, allocations: 0 / 1.056 GB, free: 56.7 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.8303, allocations: 0 / 1.056 GB, free: 56.7 MB / 1.01 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.002209/0.8325, allocations: 1.077 MB / 1.057 GB, free: 56.18 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.8326, allocations: 8.625 kB / 1.057 GB, free: 56.18 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.8337, allocations: 243.4 kB / 1.058 GB, free: 56.11 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006117/0.8343, allocations: 387.7 kB / 1.058 GB, free: 55.93 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.8344, allocations: 38.58 kB / 1.058 GB, free: 55.93 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.781e-05/0.8344, allocations: 61.25 kB / 1.058 GB, free: 55.93 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.8355, allocations: 1.064 MB / 1.059 GB, free: 55.25 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.8355, allocations: 3.562 kB / 1.059 GB, free: 55.25 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.625e-05/0.8356, allocations: 26.88 kB / 1.059 GB, free: 55.25 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.8356, allocations: 14.28 kB / 1.059 GB, free: 55.25 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008033/0.8364, allocations: 434.2 kB / 1.059 GB, free: 55.25 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.002786/0.8392, allocations: 2.925 MB / 1.062 GB, free: 53.33 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/0.8397, allocations: 251.3 kB / 1.063 GB, free: 53.3 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.8399, allocations: 146.7 kB / 1.063 GB, free: 53.29 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0169/0.8568, allocations: 4.967 MB / 1.068 GB, free: 53.24 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.8569, allocations: 43.55 kB / 1.068 GB, free: 53.2 MB / 1.01 GB Notification: Performance of pre-optimization done (n=36): time 2.675e-06/0.8569, allocations: 0 / 1.068 GB, free: 53.2 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.07918/0.9361, allocations: 18.11 MB / 1.085 GB, free: 49.89 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.9361, allocations: 135.1 kB / 1.085 GB, free: 49.74 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004627/0.9366, allocations: 440.1 kB / 1.086 GB, free: 49.56 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.9366, allocations: 35.86 kB / 1.086 GB, free: 49.53 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.9368, allocations: 361.2 kB / 1.086 GB, free: 49.3 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.9369, allocations: 199 kB / 1.086 GB, free: 49.18 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.9371, allocations: 131.9 kB / 1.087 GB, free: 49.15 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.9372, allocations: 0.5458 MB / 1.087 GB, free: 48.66 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/0.9377, allocations: 217.1 kB / 1.087 GB, free: 48.66 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000609/0.9383, allocations: 494.8 kB / 1.088 GB, free: 48.36 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.9394, allocations: 0.6176 MB / 1.088 GB, free: 48.18 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.9394, allocations: 2.109 kB / 1.088 GB, free: 48.18 MB / 1.01 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001872/0.9413, allocations: 0.7953 MB / 1.089 GB, free: 48.07 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.9413, allocations: 10.41 kB / 1.089 GB, free: 48.07 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.9413, allocations: 3.5 kB / 1.089 GB, free: 48.07 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006328/0.9419, allocations: 149.8 kB / 1.089 GB, free: 48.04 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/0.9425, allocations: 124.1 kB / 1.089 GB, free: 48.04 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002706/0.9452, allocations: 4.393 MB / 1.094 GB, free: 44.14 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005614/0.9457, allocations: 23.44 kB / 1.094 GB, free: 44.14 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.9458, allocations: 28.56 kB / 1.094 GB, free: 44.14 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.0003132/0.9461, allocations: 232.5 kB / 1.094 GB, free: 43.97 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.9464, allocations: 91.08 kB / 1.094 GB, free: 43.93 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.9482, allocations: 0.8125 MB / 1.095 GB, free: 43.8 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.9482, allocations: 9.438 kB / 1.095 GB, free: 43.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.9482, allocations: 2.562 kB / 1.095 GB, free: 43.8 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.9482, allocations: 2.297 kB / 1.095 GB, free: 43.8 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003076/0.9513, allocations: 1.555 MB / 1.096 GB, free: 43.31 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/0.9513, allocations: 8.797 kB / 1.096 GB, free: 43.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004909/0.9518, allocations: 98.34 kB / 1.096 GB, free: 43.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003453/0.9521, allocations: 96 kB / 1.097 GB, free: 43.29 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/0.9522, allocations: 21.08 kB / 1.097 GB, free: 43.29 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/0.9537, allocations: 2.25 MB / 1.099 GB, free: 41.34 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.9537, allocations: 2.875 kB / 1.099 GB, free: 41.34 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.9557, allocations: 1.087 MB / 1.1 GB, free: 40.93 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.9558, allocations: 39.62 kB / 1.1 GB, free: 40.91 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.022e-05/0.9559, allocations: 14.56 kB / 1.1 GB, free: 40.91 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.9563, allocations: 20.67 kB / 1.1 GB, free: 40.91 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.9564, allocations: 49.89 kB / 1.1 GB, free: 40.91 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.325e-05/0.9565, allocations: 23.47 kB / 1.1 GB, free: 40.91 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003557/0.9568, allocations: 300.6 kB / 1.1 GB, free: 40.78 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.9568, allocations: 0 / 1.1 GB, free: 40.78 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005155/0.962, allocations: 1.402 MB / 1.102 GB, free: 40.71 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 (48): * Single equations (assignments): 47 * 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.008178/0.9702, allocations: 0.8295 MB / 1.102 GB, free: 40.55 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002063/0.9722, allocations: 0.9088 MB / 1.103 GB, free: 40.18 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/0.9722, allocations: 1.797 kB / 1.103 GB, free: 40.18 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007315/0.973, allocations: 444.8 kB / 1.104 GB, free: 39.99 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.9744, allocations: 245.1 kB / 1.104 GB, free: 39.97 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.9765, allocations: 1.16 MB / 1.105 GB, free: 39.31 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.9768, allocations: 275.7 kB / 1.105 GB, free: 39.21 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005297/0.9773, allocations: 116.8 kB / 1.106 GB, free: 39.17 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.9775, allocations: 56.22 kB / 1.106 GB, free: 39.16 MB / 1.01 GB Notification: Performance of SimCode: time 1.132e-06/0.9775, allocations: 0 / 1.106 GB, free: 39.16 MB / 1.01 GB Notification: Performance of Templates: time 0.0997/1.077, allocations: 64.5 MB / 1.169 GB, free: 21.41 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.742871762020513]