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.0008424/0.0008424, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008159/0.0008159, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8711/0.8711, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.716/1.716, allocations: 389.1 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.433e-06/1.433e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.182e-05, allocations: 2.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.5888/0.5888, allocations: 143.7 MB / 1.141 GB, free: 10.35 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008433/0.5972, allocations: 8.186 MB / 1.149 GB, free: 5.266 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004086/0.5977, allocations: 23 kB / 1.149 GB, free: 5.254 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0008517/0.5985, allocations: 334 kB / 1.15 GB, free: 5.074 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.6007, allocations: 1.161 MB / 1.151 GB, free: 4.508 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.004763/0.6055, allocations: 2.181 MB / 1.153 GB, free: 3.656 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001465/0.6069, allocations: 1.405 MB / 1.154 GB, free: 2.969 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005077/0.6074, allocations: 363.8 kB / 1.155 GB, free: 2.809 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004319/0.6118, allocations: 2.421 MB / 1.157 GB, free: 1.672 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.6134, allocations: 1.212 MB / 1.158 GB, free: 1.109 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 6.555e-05/0.6135, allocations: 54.94 kB / 1.158 GB, free: 1.105 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004641/0.6181, allocations: 2.796 MB / 1.161 GB, free: 0.5 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.6183, allocations: 157.2 kB / 1.161 GB, free: 416 kB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.6185, allocations: 254.3 kB / 1.161 GB, free: 320 kB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003327/0.6219, allocations: 2.652 MB / 1.164 GB, free: 15.54 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.6219, allocations: 4.797 kB / 1.164 GB, free: 15.54 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6219, allocations: 0 / 1.164 GB, free: 15.54 MB / 1.026 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.6219, allocations: 7.938 kB / 1.164 GB, free: 15.53 MB / 1.026 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.001463/0.6234, allocations: 0.9424 MB / 1.165 GB, free: 14.9 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.6234, allocations: 9.406 kB / 1.165 GB, free: 14.9 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005896/0.624, allocations: 152.1 kB / 1.165 GB, free: 14.85 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/0.6245, allocations: 367 kB / 1.165 GB, free: 14.59 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.6245, allocations: 38.75 kB / 1.165 GB, free: 14.58 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-05/0.6246, allocations: 53.94 kB / 1.165 GB, free: 14.56 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009321/0.6255, allocations: 0.9878 MB / 1.166 GB, free: 13.81 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.6256, allocations: 5.188 kB / 1.166 GB, free: 13.8 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.6256, allocations: 23.91 kB / 1.166 GB, free: 13.79 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.6256, allocations: 13.12 kB / 1.166 GB, free: 13.79 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006975/0.6263, allocations: 489.7 kB / 1.167 GB, free: 13.63 MB / 1.026 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.002024/0.6283, allocations: 2.185 MB / 1.169 GB, free: 11.98 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.6287, allocations: 256 kB / 1.169 GB, free: 11.88 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.6289, allocations: 157.7 kB / 1.169 GB, free: 11.82 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009259/0.6382, allocations: 4.94 MB / 1.174 GB, free: 11.27 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.6382, allocations: 38.34 kB / 1.174 GB, free: 11.23 MB / 1.026 GB Notification: Performance of pre-optimization done (n=36): time 2.465e-06/0.6382, allocations: 1.5 kB / 1.174 GB, free: 11.23 MB / 1.026 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.04673/0.685, allocations: 31.66 MB / 1.205 GB, free: 10.43 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.685, allocations: 133 kB / 1.205 GB, free: 10.27 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.6853, allocations: 341.5 kB / 1.206 GB, free: 9.926 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.6854, allocations: 37.7 kB / 1.206 GB, free: 9.883 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.6855, allocations: 304.7 kB / 1.206 GB, free: 9.582 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 9.838e-05/0.6856, allocations: 186.3 kB / 1.206 GB, free: 9.398 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.6857, allocations: 114.3 kB / 1.206 GB, free: 9.281 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.6858, allocations: 354.8 kB / 1.207 GB, free: 8.926 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.6861, allocations: 236.4 kB / 1.207 GB, free: 8.699 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.6865, allocations: 454.5 kB / 1.207 GB, free: 8.184 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006642/0.6872, allocations: 0.5954 MB / 1.208 GB, free: 7.547 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6872, allocations: 0 / 1.208 GB, free: 7.547 MB / 1.042 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001097/0.6883, allocations: 0.7875 MB / 1.209 GB, free: 6.742 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.6883, allocations: 8 kB / 1.209 GB, free: 6.734 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.6883, allocations: 6.094 kB / 1.209 GB, free: 6.73 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002934/0.6886, allocations: 126 kB / 1.209 GB, free: 6.602 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.6889, allocations: 123.8 kB / 1.209 GB, free: 6.48 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.6909, allocations: 3.171 MB / 1.212 GB, free: 3.109 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.6911, allocations: 32.12 kB / 1.212 GB, free: 3.078 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.6912, allocations: 28 kB / 1.212 GB, free: 3.051 MB / 1.042 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.0002057/0.6914, allocations: 189.7 kB / 1.212 GB, free: 2.855 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.6915, allocations: 55.64 kB / 1.212 GB, free: 2.801 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.6925, allocations: 0.7864 MB / 1.213 GB, free: 2.004 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.6925, allocations: 7.938 kB / 1.213 GB, free: 1.996 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.6925, allocations: 0 / 1.213 GB, free: 1.996 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.6925, allocations: 0 / 1.213 GB, free: 1.996 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.6942, allocations: 1.39 MB / 1.214 GB, free: 0.5273 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.6942, allocations: 11.92 kB / 1.214 GB, free: 0.5156 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.6945, allocations: 104.2 kB / 1.215 GB, free: 424 kB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001344/0.6946, allocations: 69.67 kB / 1.215 GB, free: 352 kB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.6947, allocations: 16 kB / 1.215 GB, free: 336 kB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009552/0.6956, allocations: 1.638 MB / 1.216 GB, free: 14.59 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6956, allocations: 7.938 kB / 1.216 GB, free: 14.59 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.6968, allocations: 1.007 MB / 1.217 GB, free: 13.52 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.6968, allocations: 39.75 kB / 1.217 GB, free: 13.48 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.6969, allocations: 16 kB / 1.217 GB, free: 13.46 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.6971, allocations: 28.05 kB / 1.217 GB, free: 13.44 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.6971, allocations: 57.02 kB / 1.217 GB, free: 13.39 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.6972, allocations: 23.98 kB / 1.217 GB, free: 13.36 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0001797/0.6973, allocations: 243.2 kB / 1.218 GB, free: 13.12 MB / 1.057 GB Notification: Performance of sort global known variables: time 7e-08/0.6973, allocations: 0 / 1.218 GB, free: 13.12 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.004821/0.7022, allocations: 1.401 MB / 1.219 GB, free: 11.72 MB / 1.057 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.00481/0.707, allocations: 0.8261 MB / 1.22 GB, free: 10.89 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001141/0.7081, allocations: 0.785 MB / 1.221 GB, free: 10.07 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.7081, allocations: 0 / 1.221 GB, free: 10.07 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0004235/0.7085, allocations: 380.8 kB / 1.221 GB, free: 9.691 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007123/0.7092, allocations: 224.2 kB / 1.221 GB, free: 9.484 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.7106, allocations: 1.148 MB / 1.222 GB, free: 8.266 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.7108, allocations: 278.9 kB / 1.222 GB, free: 7.961 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.7109, allocations: 68.47 kB / 1.223 GB, free: 7.895 MB / 1.057 GB Notification: Performance of SimCode: time 9.32e-07/0.7109, allocations: 0 / 1.223 GB, free: 7.895 MB / 1.057 GB Notification: Performance of Templates: time 0.04577/0.7567, allocations: 41.19 MB / 1.263 GB, free: 15.26 MB / 1.104 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 800] 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: 9.221677756868303]