Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Experimental.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_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.Experimental.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_latest_Buildings.Experimental.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.001041/0.001041, allocations: 98.41 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 184.2 kB / 16.92 MB, free: 6.895 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.771/2.771, allocations: 462.7 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 10.83 kB / 0.9034 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2937, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1595/0.4532, allocations: 158.5 MB / 1.214 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01214/0.4654, allocations: 9.666 MB / 1.224 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005164/0.466, allocations: 15.88 kB / 1.224 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008109/0.4668, allocations: 294.4 kB / 1.224 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.4692, allocations: 0.9404 MB / 1.225 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004265/0.4735, allocations: 1.746 MB / 1.226 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001965/0.4754, allocations: 1.801 MB / 1.228 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005606/0.476, allocations: 364.5 kB / 1.229 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004331/0.4803, allocations: 1.91 MB / 1.23 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002377/0.4827, allocations: 1.299 MB / 1.232 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.87e-05/0.4828, allocations: 28 kB / 1.232 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004871/0.4877, allocations: 2.797 MB / 1.234 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.4879, allocations: 131.5 kB / 1.235 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000411/0.4883, allocations: 344.1 kB / 1.235 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.4901, allocations: 1.563 MB / 1.236 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4902, allocations: 0 / 1.236 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4902, allocations: 0 / 1.236 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.4902, allocations: 4 kB / 1.236 GB, free: 14.95 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.001602/0.4918, allocations: 0.8851 MB / 1.237 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4918, allocations: 12.03 kB / 1.237 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.4929, allocations: 147.3 kB / 1.237 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005493/0.4935, allocations: 429.5 kB / 1.238 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.4935, allocations: 45.25 kB / 1.238 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.42e-05/0.4936, allocations: 52 kB / 1.238 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.4948, allocations: 0.6721 MB / 1.239 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.4949, allocations: 3.938 kB / 1.239 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.428e-05/0.4949, allocations: 24 kB / 1.239 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.4949, allocations: 19.94 kB / 1.239 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.496, allocations: 0.4918 MB / 1.239 GB, free: 12.05 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.003283/0.4993, allocations: 2.983 MB / 1.242 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006031/0.4999, allocations: 282.4 kB / 1.242 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/0.5003, allocations: 169.4 kB / 1.243 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01843/0.5187, allocations: 5.812 MB / 1.248 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.5188, allocations: 42.42 kB / 1.248 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 2.344e-06/0.5188, allocations: 0 / 1.248 GB, free: 2.289 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.6398/1.159, allocations: 30.42 MB / 1.278 GB, free: 22.42 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/1.159, allocations: 138.4 kB / 1.278 GB, free: 22.26 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003972/1.159, allocations: 364.8 kB / 1.278 GB, free: 22.14 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/1.159, allocations: 35.92 kB / 1.278 GB, free: 22.11 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/1.159, allocations: 301 kB / 1.279 GB, free: 21.94 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/1.159, allocations: 182.2 kB / 1.279 GB, free: 21.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-05/1.16, allocations: 50.81 kB / 1.279 GB, free: 21.81 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.146e-05/1.16, allocations: 358.7 kB / 1.279 GB, free: 21.49 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/1.16, allocations: 241.9 kB / 1.28 GB, free: 21.49 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/1.161, allocations: 386.2 kB / 1.28 GB, free: 21.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/1.162, allocations: 0.606 MB / 1.28 GB, free: 21.22 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.162, allocations: 0 / 1.28 GB, free: 21.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001789/1.164, allocations: 0.8043 MB / 1.281 GB, free: 21.12 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/1.164, allocations: 6.094 kB / 1.281 GB, free: 21.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/1.164, allocations: 5.688 kB / 1.281 GB, free: 21.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004906/1.164, allocations: 122.5 kB / 1.281 GB, free: 21.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/1.165, allocations: 132.3 kB / 1.282 GB, free: 21.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/1.167, allocations: 3.083 MB / 1.285 GB, free: 18.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006179/1.168, allocations: 63.08 kB / 1.285 GB, free: 18.44 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/1.168, allocations: 24.88 kB / 1.285 GB, free: 18.44 MB / 0.9981 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.0002443/1.168, allocations: 202 kB / 1.285 GB, free: 18.32 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/1.168, allocations: 53.39 kB / 1.285 GB, free: 18.29 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/1.17, allocations: 0.7972 MB / 1.286 GB, free: 18.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.17, allocations: 9.219 kB / 1.286 GB, free: 18.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/1.17, allocations: 2.438 kB / 1.286 GB, free: 18.18 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/1.17, allocations: 2.859 kB / 1.286 GB, free: 18.18 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/1.172, allocations: 1.608 MB / 1.287 GB, free: 17.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/1.172, allocations: 8.906 kB / 1.287 GB, free: 17.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004835/1.173, allocations: 106 kB / 1.287 GB, free: 17.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002282/1.173, allocations: 66.97 kB / 1.287 GB, free: 17.71 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/1.173, allocations: 20.55 kB / 1.287 GB, free: 17.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/1.174, allocations: 1.596 MB / 1.289 GB, free: 16.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.174, allocations: 2.938 kB / 1.289 GB, free: 16.38 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/1.176, allocations: 1.036 MB / 1.29 GB, free: 16.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/1.176, allocations: 142.9 kB / 1.29 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.177, allocations: 11.78 kB / 1.29 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005546/1.177, allocations: 55.83 kB / 1.29 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-05/1.177, allocations: 50.69 kB / 1.29 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/1.177, allocations: 28.08 kB / 1.29 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003848/1.178, allocations: 352 kB / 1.291 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.423e-06/1.178, allocations: 0 / 1.291 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004883/1.183, allocations: 1.396 MB / 1.292 GB, free: 15.85 MB / 0.9981 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.008349/1.191, allocations: 0.7556 MB / 1.293 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001757/1.193, allocations: 0.8187 MB / 1.294 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/1.193, allocations: 3.5 kB / 1.294 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006777/1.193, allocations: 389.5 kB / 1.294 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/1.195, allocations: 341.1 kB / 1.294 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/1.197, allocations: 1.505 MB / 1.296 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/1.197, allocations: 0.8726 MB / 1.297 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/1.198, allocations: 73.67 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/1.198, allocations: 0 / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of Templates: time 0.05642/1.254, allocations: 42.14 MB / 1.338 GB, free: 11.5 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches