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.001864/0.001864, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001893/0.001893, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.521/1.521, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.77/2.77, allocations: 469.8 MB / 0.743 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.44 kB / 0.9092 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3511, allocations: 159.1 MB / 1.065 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.8094/1.161, allocations: 162.7 MB / 1.223 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01282/1.173, allocations: 8.855 MB / 1.232 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009188/1.174, allocations: 20.19 kB / 1.232 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/1.176, allocations: 345.4 kB / 1.232 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003177/1.179, allocations: 1.103 MB / 1.234 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005918/1.185, allocations: 2.124 MB / 1.236 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002266/1.187, allocations: 1.38 MB / 1.237 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008125/1.188, allocations: 429.4 kB / 1.237 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005654/1.193, allocations: 2.085 MB / 1.239 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003235/1.197, allocations: 1.303 MB / 1.241 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001857/1.197, allocations: 52 kB / 1.241 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006173/1.203, allocations: 2.813 MB / 1.243 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003571/1.204, allocations: 163.4 kB / 1.244 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006972/1.204, allocations: 346.5 kB / 1.244 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004423/1.209, allocations: 2.202 MB / 1.246 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/1.209, allocations: 0 / 1.246 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.954e-06/1.209, allocations: 0 / 1.246 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.537e-06/1.209, allocations: 4 kB / 1.246 GB, free: 14.93 MB / 0.9669 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.002283/1.211, allocations: 0.9987 MB / 1.247 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/1.211, allocations: 8.031 kB / 1.247 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/1.212, allocations: 147.5 kB / 1.247 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006418/1.213, allocations: 421.5 kB / 1.248 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/1.213, allocations: 41.31 kB / 1.248 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-05/1.213, allocations: 52 kB / 1.248 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/1.214, allocations: 0.6682 MB / 1.248 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/1.214, allocations: 3.938 kB / 1.248 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-05/1.214, allocations: 27.94 kB / 1.248 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/1.215, allocations: 23.92 kB / 1.248 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/1.216, allocations: 491.5 kB / 1.249 GB, free: 11.94 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.003983/1.22, allocations: 3.006 MB / 1.252 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/1.22, allocations: 271.2 kB / 1.252 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/1.221, allocations: 161.4 kB / 1.252 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01939/1.24, allocations: 5.75 MB / 1.258 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.298e-05/1.24, allocations: 42.56 kB / 1.258 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=36): time 2.394e-06/1.24, allocations: 3.938 kB / 1.258 GB, free: 2.234 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.1181/1.358, allocations: 31.6 MB / 1.289 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/1.359, allocations: 133 kB / 1.289 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006447/1.359, allocations: 373.5 kB / 1.289 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.007e-05/1.359, allocations: 37.7 kB / 1.289 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/1.36, allocations: 292.2 kB / 1.29 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/1.36, allocations: 181.3 kB / 1.29 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/1.36, allocations: 118.1 kB / 1.29 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002484/1.36, allocations: 362.8 kB / 1.29 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006272/1.361, allocations: 233 kB / 1.29 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007866/1.362, allocations: 372.5 kB / 1.291 GB, free: 424 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/1.363, allocations: 0.5942 MB / 1.291 GB, free: 15.78 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.363, allocations: 4 kB / 1.291 GB, free: 15.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002227/1.365, allocations: 0.7975 MB / 1.292 GB, free: 14.96 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/1.365, allocations: 8 kB / 1.292 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.365, allocations: 7.938 kB / 1.292 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005355/1.366, allocations: 121.9 kB / 1.292 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006114/1.367, allocations: 123.8 kB / 1.292 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003867/1.37, allocations: 3.428 MB / 1.296 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006898/1.371, allocations: 35.91 kB / 1.296 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.609e-05/1.371, allocations: 27.98 kB / 1.296 GB, free: 10.95 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.0003393/1.372, allocations: 199.2 kB / 1.296 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/1.372, allocations: 51.42 kB / 1.296 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/1.374, allocations: 0.7882 MB / 1.297 GB, free: 9.883 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.374, allocations: 8 kB / 1.297 GB, free: 9.875 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/1.374, allocations: 0 / 1.297 GB, free: 9.875 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/1.374, allocations: 3.984 kB / 1.297 GB, free: 9.871 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003598/1.378, allocations: 1.602 MB / 1.298 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/1.378, allocations: 11.88 kB / 1.298 GB, free: 8.156 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005325/1.378, allocations: 99.88 kB / 1.298 GB, free: 8.059 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002841/1.378, allocations: 77.2 kB / 1.299 GB, free: 7.98 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/1.379, allocations: 16 kB / 1.299 GB, free: 7.965 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/1.381, allocations: 1.771 MB / 1.3 GB, free: 6.055 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/1.381, allocations: 15.86 kB / 1.3 GB, free: 6.039 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/1.383, allocations: 1.02 MB / 1.301 GB, free: 4.965 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/1.383, allocations: 128.4 kB / 1.301 GB, free: 4.82 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/1.383, allocations: 27.86 kB / 1.301 GB, free: 4.793 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005105/1.384, allocations: 27.98 kB / 1.302 GB, free: 4.766 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/1.384, allocations: 39.95 kB / 1.302 GB, free: 4.727 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.652e-05/1.384, allocations: 23.98 kB / 1.302 GB, free: 4.703 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005454/1.385, allocations: 362.8 kB / 1.302 GB, free: 4.348 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.385, allocations: 0 / 1.302 GB, free: 4.348 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004707/1.389, allocations: 1.387 MB / 1.303 GB, free: 2.961 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.008437/1.398, allocations: 0.7494 MB / 1.304 GB, free: 2.215 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002447/1.4, allocations: 0.8394 MB / 1.305 GB, free: 1.348 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.4, allocations: 0 / 1.305 GB, free: 1.348 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008822/1.401, allocations: 387.3 kB / 1.305 GB, free: 0.957 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/1.403, allocations: 340.3 kB / 1.306 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/1.406, allocations: 1.237 MB / 1.307 GB, free: 15.33 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/1.406, allocations: 0.8712 MB / 1.308 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/1.406, allocations: 75.42 kB / 1.308 GB, free: 14.36 MB / 1.029 GB Notification: Performance of SimCode: time 7.31e-07/1.406, allocations: 0 / 1.308 GB, free: 14.36 MB / 1.029 GB Notification: Performance of Templates: time 0.07861/1.485, allocations: 42.03 MB / 1.349 GB, free: 4.926 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