Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001406/0.001406, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001738/0.001738, allocations: 165.7 kB / 22.46 MB, free: 5.359 MB / 14.72 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.458/1.458, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.835/2.835, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.942e-05, allocations: 4.953 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1813/0.1813, allocations: 143.7 MB / 1.122 GB, free: 11.7 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01245/0.1938, allocations: 8.189 MB / 1.13 GB, free: 3.488 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007115/0.1945, allocations: 27.81 kB / 1.13 GB, free: 3.461 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.1957, allocations: 329.8 kB / 1.13 GB, free: 3.137 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003422/0.1991, allocations: 1.165 MB / 1.131 GB, free: 1.969 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.5366/0.7357, allocations: 2.169 MB / 1.133 GB, free: 46.92 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00158/0.7372, allocations: 1.41 MB / 1.135 GB, free: 46.92 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004813/0.7377, allocations: 361.1 kB / 1.135 GB, free: 46.91 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004355/0.7421, allocations: 2.41 MB / 1.137 GB, free: 46.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002526/0.7446, allocations: 1.222 MB / 1.139 GB, free: 46.58 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.7447, allocations: 50.53 kB / 1.139 GB, free: 46.58 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00449/0.7492, allocations: 2.796 MB / 1.141 GB, free: 46.58 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.7494, allocations: 166.3 kB / 1.142 GB, free: 46.58 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.7497, allocations: 251 kB / 1.142 GB, free: 46.58 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002886/0.7526, allocations: 2.661 MB / 1.144 GB, free: 46.56 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7526, allocations: 2 kB / 1.144 GB, free: 46.56 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7526, allocations: 0 / 1.144 GB, free: 46.56 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.644e-05/0.7526, allocations: 0 / 1.144 GB, free: 46.56 MB / 1.076 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.001543/0.7542, allocations: 0.9423 MB / 1.145 GB, free: 46.05 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.7542, allocations: 8.906 kB / 1.145 GB, free: 46.05 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.7553, allocations: 149.5 kB / 1.146 GB, free: 46.01 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005804/0.7559, allocations: 371.3 kB / 1.146 GB, free: 45.83 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.7559, allocations: 39.75 kB / 1.146 GB, free: 45.83 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.561e-05/0.756, allocations: 55.95 kB / 1.146 GB, free: 45.82 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.7571, allocations: 0.9929 MB / 1.147 GB, free: 45.26 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.7571, allocations: 0 / 1.147 GB, free: 45.26 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.155e-05/0.7572, allocations: 23.53 kB / 1.147 GB, free: 45.26 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.7572, allocations: 15.94 kB / 1.147 GB, free: 45.26 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009504/0.7581, allocations: 492.7 kB / 1.147 GB, free: 45.26 MB / 1.076 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.002529/0.7606, allocations: 2.185 MB / 1.15 GB, free: 43.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005531/0.7612, allocations: 253 kB / 1.15 GB, free: 43.94 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.7615, allocations: 160.6 kB / 1.15 GB, free: 43.93 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01808/0.7796, allocations: 4.93 MB / 1.155 GB, free: 43.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.969e-05/0.7797, allocations: 37.03 kB / 1.155 GB, free: 43.78 MB / 1.076 GB Notification: Performance of pre-optimization done (n=36): time 3.086e-06/0.7797, allocations: 5.094 kB / 1.155 GB, free: 43.78 MB / 1.076 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.09673/0.8764, allocations: 31.66 MB / 1.186 GB, free: 40.54 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.8764, allocations: 134.9 kB / 1.186 GB, free: 40.38 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004216/0.8769, allocations: 342.4 kB / 1.186 GB, free: 40.25 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/0.8769, allocations: 37 kB / 1.186 GB, free: 40.22 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.8771, allocations: 301.5 kB / 1.187 GB, free: 40.04 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.8772, allocations: 190.2 kB / 1.187 GB, free: 39.91 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.8774, allocations: 114.5 kB / 1.187 GB, free: 39.89 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.304e-05/0.8774, allocations: 352 kB / 1.187 GB, free: 39.58 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005772/0.878, allocations: 235.4 kB / 1.187 GB, free: 39.58 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006614/0.8787, allocations: 454.2 kB / 1.188 GB, free: 39.34 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.8798, allocations: 0.5942 MB / 1.188 GB, free: 39.22 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8798, allocations: 0 / 1.188 GB, free: 39.22 MB / 1.076 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002024/0.8818, allocations: 0.789 MB / 1.189 GB, free: 39.13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.8818, allocations: 6.094 kB / 1.189 GB, free: 39.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.8819, allocations: 7.938 kB / 1.189 GB, free: 39.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005153/0.8824, allocations: 118.4 kB / 1.189 GB, free: 39.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006176/0.883, allocations: 128.6 kB / 1.189 GB, free: 39.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.8856, allocations: 3.172 MB / 1.192 GB, free: 36.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000684/0.8862, allocations: 37.52 kB / 1.193 GB, free: 36.44 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.434e-05/0.8863, allocations: 26 kB / 1.193 GB, free: 36.44 MB / 1.076 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.000335/0.8866, allocations: 189.5 kB / 1.193 GB, free: 36.32 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/0.8869, allocations: 53.31 kB / 1.193 GB, free: 36.3 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/0.8888, allocations: 0.7906 MB / 1.194 GB, free: 36.19 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.8888, allocations: 9.516 kB / 1.194 GB, free: 36.18 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.8888, allocations: 1.469 kB / 1.194 GB, free: 36.18 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.8888, allocations: 2.672 kB / 1.194 GB, free: 36.18 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/0.8918, allocations: 1.389 MB / 1.195 GB, free: 35.81 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.8918, allocations: 6.844 kB / 1.195 GB, free: 35.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005088/0.8923, allocations: 109.1 kB / 1.195 GB, free: 35.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002548/0.8926, allocations: 73.11 kB / 1.195 GB, free: 35.79 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.8926, allocations: 17.62 kB / 1.195 GB, free: 35.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/0.894, allocations: 1.63 MB / 1.197 GB, free: 34.46 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.894, allocations: 10.98 kB / 1.197 GB, free: 34.46 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.8961, allocations: 0.9989 MB / 1.198 GB, free: 34.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-05/0.8962, allocations: 48.23 kB / 1.198 GB, free: 34.15 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-05/0.8962, allocations: 14.92 kB / 1.198 GB, free: 34.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004809/0.8967, allocations: 28.56 kB / 1.198 GB, free: 34.15 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.8968, allocations: 48.47 kB / 1.198 GB, free: 34.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/0.8969, allocations: 21.38 kB / 1.198 GB, free: 34.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003019/0.8972, allocations: 251.1 kB / 1.198 GB, free: 34.06 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.8972, allocations: 0 / 1.198 GB, free: 34.06 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004975/0.9022, allocations: 1.398 MB / 1.199 GB, free: 34 MB / 1.076 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.008383/0.9105, allocations: 0.835 MB / 1.2 GB, free: 33.83 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001898/0.9124, allocations: 0.7777 MB / 1.201 GB, free: 33.59 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/0.9124, allocations: 6.672 kB / 1.201 GB, free: 33.59 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007174/0.9132, allocations: 376 kB / 1.201 GB, free: 33.47 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.9145, allocations: 220.9 kB / 1.202 GB, free: 33.45 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.9162, allocations: 1.126 MB / 1.203 GB, free: 32.86 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.9165, allocations: 271.6 kB / 1.203 GB, free: 32.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000465/0.917, allocations: 125.4 kB / 1.203 GB, free: 32.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.9171, allocations: 56.77 kB / 1.203 GB, free: 32.72 MB / 1.076 GB Notification: Performance of SimCode: time 8.11e-07/0.9171, allocations: 0 / 1.203 GB, free: 32.72 MB / 1.076 GB Notification: Performance of Templates: time 0.07945/0.9966, allocations: 61.1 MB / 1.263 GB, free: 2.676 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.767721991986036]