Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001471/0.001471, 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.001834/0.001834, allocations: 165.5 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.427/1.427, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.712/2.712, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.951 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.38e-05, allocations: 2.281 kB / 0.951 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1797/0.1797, allocations: 143.7 MB / 1.091 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0133/0.193, allocations: 8.197 MB / 1.099 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00084/0.1939, allocations: 23.81 kB / 1.099 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.1952, allocations: 329.7 kB / 1.1 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003527/0.1987, allocations: 1.166 MB / 1.101 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.5405/0.7392, allocations: 2.166 MB / 1.103 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002279/0.7415, allocations: 1.403 MB / 1.104 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007056/0.7422, allocations: 363.5 kB / 1.105 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006193/0.7484, allocations: 2.416 MB / 1.107 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003123/0.7515, allocations: 1.219 MB / 1.108 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.7517, allocations: 51.25 kB / 1.108 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005948/0.7576, allocations: 2.798 MB / 1.111 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.7579, allocations: 165.2 kB / 1.111 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005672/0.7584, allocations: 253.3 kB / 1.111 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005127/0.7636, allocations: 2.657 MB / 1.114 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7636, allocations: 0 / 1.114 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7636, allocations: 3.906 kB / 1.114 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.807e-05/0.7636, allocations: 1.031 kB / 1.114 GB, free: 13.28 MB / 0.9981 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.002473/0.7661, allocations: 0.9407 MB / 1.115 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.7661, allocations: 9.984 kB / 1.115 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.7673, allocations: 151.3 kB / 1.115 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006939/0.768, allocations: 369.8 kB / 1.115 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.768, allocations: 40.11 kB / 1.115 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.7681, allocations: 52 kB / 1.115 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.7694, allocations: 0.9948 MB / 1.116 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.7694, allocations: 1.125 kB / 1.116 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.565e-05/0.7695, allocations: 24.97 kB / 1.116 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.7695, allocations: 13.69 kB / 1.117 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.7706, allocations: 494 kB / 1.117 GB, free: 11.99 MB / 0.9981 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.002892/0.7735, allocations: 2.184 MB / 1.119 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006156/0.7741, allocations: 261.1 kB / 1.119 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/0.7744, allocations: 157.9 kB / 1.12 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02015/0.7946, allocations: 4.933 MB / 1.124 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.7946, allocations: 42.56 kB / 1.124 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 2.454e-06/0.7946, allocations: 0 / 1.124 GB, free: 10.49 MB / 0.9981 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.1045/0.8991, allocations: 31.65 MB / 1.155 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.8992, allocations: 138.5 kB / 1.155 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.8996, allocations: 338.9 kB / 1.156 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/0.8997, allocations: 43.11 kB / 1.156 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.8998, allocations: 298.9 kB / 1.156 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.8999, allocations: 188.1 kB / 1.156 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.9001, allocations: 114.8 kB / 1.156 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.9002, allocations: 357.1 kB / 1.157 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005355/0.9007, allocations: 229.9 kB / 1.157 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006726/0.9014, allocations: 454.1 kB / 1.157 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.9025, allocations: 0.5965 MB / 1.158 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.9025, allocations: 2.75 kB / 1.158 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001834/0.9043, allocations: 0.7849 MB / 1.159 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.9044, allocations: 8.922 kB / 1.159 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.9044, allocations: 4.906 kB / 1.159 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004871/0.9049, allocations: 123.2 kB / 1.159 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.9054, allocations: 127.8 kB / 1.159 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.9079, allocations: 3.166 MB / 1.162 GB, free: 19.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006122/0.9085, allocations: 39.95 kB / 1.162 GB, free: 19.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.646e-05/0.9086, allocations: 22.92 kB / 1.162 GB, free: 19.14 MB / 1.014 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.0003116/0.9089, allocations: 197.3 kB / 1.162 GB, free: 19.02 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.9091, allocations: 50.44 kB / 1.162 GB, free: 18.99 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.9108, allocations: 0.777 MB / 1.163 GB, free: 18.89 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.9108, allocations: 9.812 kB / 1.163 GB, free: 18.88 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.9108, allocations: 2.188 kB / 1.163 GB, free: 18.88 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.9108, allocations: 0 / 1.163 GB, free: 18.88 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.9137, allocations: 1.398 MB / 1.164 GB, free: 18.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.9137, allocations: 7.578 kB / 1.164 GB, free: 18.49 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004977/0.9142, allocations: 103.8 kB / 1.165 GB, free: 18.49 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002369/0.9145, allocations: 71.05 kB / 1.165 GB, free: 18.48 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.9145, allocations: 14.45 kB / 1.165 GB, free: 18.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.9162, allocations: 1.648 MB / 1.166 GB, free: 17.15 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.9162, allocations: 9.078 kB / 1.166 GB, free: 17.15 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.9182, allocations: 0.996 MB / 1.167 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.36e-05/0.9183, allocations: 42.77 kB / 1.167 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.936e-05/0.9183, allocations: 16.41 kB / 1.167 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004692/0.9188, allocations: 30.72 kB / 1.167 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.9189, allocations: 50.09 kB / 1.167 GB, free: 16.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.919, allocations: 21.61 kB / 1.167 GB, free: 16.83 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003162/0.9193, allocations: 247.2 kB / 1.168 GB, free: 16.75 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.9193, allocations: 0 / 1.168 GB, free: 16.75 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006246/0.9255, allocations: 1.394 MB / 1.169 GB, free: 16.69 MB / 1.014 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.01159/0.9371, allocations: 0.8333 MB / 1.17 GB, free: 16.52 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002053/0.9392, allocations: 0.7715 MB / 1.171 GB, free: 16.29 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.9392, allocations: 3.344 kB / 1.171 GB, free: 16.29 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008014/0.94, allocations: 384.9 kB / 1.171 GB, free: 16.17 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.9414, allocations: 218.4 kB / 1.171 GB, free: 16.14 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.9433, allocations: 1.111 MB / 1.172 GB, free: 15.56 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.9436, allocations: 282.2 kB / 1.172 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005112/0.9441, allocations: 124.1 kB / 1.173 GB, free: 15.42 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.9443, allocations: 54.5 kB / 1.173 GB, free: 15.41 MB / 1.014 GB Notification: Performance of SimCode: time 1.082e-06/0.9443, allocations: 2.438 kB / 1.173 GB, free: 15.41 MB / 1.014 GB Notification: Performance of Templates: time 0.1016/1.046, allocations: 61.11 MB / 1.232 GB, free: 15.75 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.635350689291954]