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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 106.3 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 194.7 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.542/2.542, allocations: 469.8 MB / 0.7427 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 64.31 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3073, allocations: 159.1 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.6379/0.9452, allocations: 160.6 MB / 1.221 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01132/0.9565, allocations: 9.009 MB / 1.23 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000665/0.9572, allocations: 14.19 kB / 1.23 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009517/0.9582, allocations: 293.7 kB / 1.23 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.9608, allocations: 1.006 MB / 1.231 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004856/0.9657, allocations: 1.902 MB / 1.233 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001839/0.9675, allocations: 1.384 MB / 1.234 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006667/0.9682, allocations: 429.5 kB / 1.235 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00518/0.9734, allocations: 2 MB / 1.237 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/0.9759, allocations: 1.315 MB / 1.238 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.976, allocations: 52 kB / 1.238 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005137/0.9811, allocations: 2.832 MB / 1.241 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.9813, allocations: 159.4 kB / 1.241 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004036/0.9817, allocations: 342.5 kB / 1.241 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.9837, allocations: 1.579 MB / 1.243 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.9837, allocations: 3.938 kB / 1.243 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9837, allocations: 0 / 1.243 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.9837, allocations: 0 / 1.243 GB, free: 2.27 MB / 0.9512 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.001832/0.9855, allocations: 1.006 MB / 1.244 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.9856, allocations: 12.03 kB / 1.244 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.9867, allocations: 143.5 kB / 1.244 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005624/0.9873, allocations: 425.5 kB / 1.244 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.124e-05/0.9873, allocations: 37.31 kB / 1.244 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.782e-05/0.9874, allocations: 52 kB / 1.244 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.9887, allocations: 0.6721 MB / 1.245 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.9887, allocations: 0 / 1.245 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.524e-05/0.9888, allocations: 28 kB / 1.245 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.9888, allocations: 15.94 kB / 1.245 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.9899, allocations: 491.5 kB / 1.245 GB, free: 15.27 MB / 0.9669 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.003563/0.9934, allocations: 2.991 MB / 1.248 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006096/0.9941, allocations: 270.4 kB / 1.249 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/0.9944, allocations: 165.4 kB / 1.249 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01708/1.011, allocations: 5.75 MB / 1.254 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/1.012, allocations: 42.55 kB / 1.254 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=36): time 4.088e-06/1.012, allocations: 4 kB / 1.254 GB, free: 5.582 MB / 0.9669 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.08595/1.098, allocations: 31.6 MB / 1.285 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.684e-05/1.098, allocations: 141 kB / 1.285 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005386/1.098, allocations: 373.6 kB / 1.286 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/1.098, allocations: 33.7 kB / 1.286 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/1.099, allocations: 288.2 kB / 1.286 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/1.099, allocations: 185.3 kB / 1.286 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/1.099, allocations: 110.1 kB / 1.286 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.099, allocations: 358.8 kB / 1.287 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005605/1.1, allocations: 237 kB / 1.287 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000677/1.1, allocations: 376.4 kB / 1.287 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/1.102, allocations: 0.5903 MB / 1.288 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.102, allocations: 0 / 1.288 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001968/1.104, allocations: 0.7939 MB / 1.289 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/1.104, allocations: 4 kB / 1.289 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/1.104, allocations: 7.938 kB / 1.289 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005043/1.104, allocations: 121.6 kB / 1.289 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/1.105, allocations: 131.9 kB / 1.289 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003452/1.108, allocations: 3.44 MB / 1.292 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006503/1.109, allocations: 51.89 kB / 1.292 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.944e-05/1.109, allocations: 32.05 kB / 1.292 GB, free: 14.26 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.000305/1.109, allocations: 193.6 kB / 1.293 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/1.109, allocations: 51.44 kB / 1.293 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/1.111, allocations: 0.7849 MB / 1.293 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/1.111, allocations: 4 kB / 1.293 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.111, allocations: 4 kB / 1.293 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.111, allocations: 3.984 kB / 1.293 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003275/1.115, allocations: 1.618 MB / 1.295 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.115, allocations: 4.406 kB / 1.295 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005102/1.115, allocations: 107.8 kB / 1.295 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002576/1.115, allocations: 72.8 kB / 1.295 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.24e-05/1.115, allocations: 8 kB / 1.295 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/1.117, allocations: 1.775 MB / 1.297 GB, free: 9.367 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.117, allocations: 8.062 kB / 1.297 GB, free: 9.359 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/1.12, allocations: 1.016 MB / 1.298 GB, free: 8.289 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/1.12, allocations: 136.3 kB / 1.298 GB, free: 8.137 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/1.12, allocations: 15.94 kB / 1.298 GB, free: 8.121 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005534/1.12, allocations: 48.02 kB / 1.298 GB, free: 8.074 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.121, allocations: 43.89 kB / 1.298 GB, free: 8.031 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/1.121, allocations: 24 kB / 1.298 GB, free: 8.008 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004878/1.121, allocations: 354.8 kB / 1.299 GB, free: 7.66 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/1.121, allocations: 4 kB / 1.299 GB, free: 7.656 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004184/1.125, allocations: 1.394 MB / 1.3 GB, free: 6.262 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.007798/1.133, allocations: 0.7548 MB / 1.301 GB, free: 5.508 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002144/1.135, allocations: 0.8432 MB / 1.301 GB, free: 4.637 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.135, allocations: 0 / 1.301 GB, free: 4.637 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008258/1.136, allocations: 387.3 kB / 1.302 GB, free: 4.246 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/1.138, allocations: 345.5 kB / 1.302 GB, free: 3.922 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/1.14, allocations: 1.436 MB / 1.304 GB, free: 2.414 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/1.141, allocations: 0.8712 MB / 1.304 GB, free: 1.516 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/1.141, allocations: 67.41 kB / 1.304 GB, free: 1.449 MB / 1.014 GB Notification: Performance of SimCode: time 7.41e-07/1.141, allocations: 4 kB / 1.304 GB, free: 1.445 MB / 1.014 GB Notification: Performance of Templates: time 0.06662/1.208, allocations: 42.02 MB / 1.345 GB, free: 8.031 MB / 1.061 GB make -j1 -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile (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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches