Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.001033/0.001033, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001224/0.001224, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.837/2.837, allocations: 437.7 MB / 0.7117 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003988, allocations: 8 kB / 0.8722 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7911/0.7916, allocations: 153.8 MB / 1.022 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1838/0.9754, allocations: 147.9 MB / 1.167 GB, free: 11.7 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01163/0.987, allocations: 8.522 MB / 1.175 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006559/0.9877, allocations: 11.94 kB / 1.175 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009247/0.9887, allocations: 262.4 kB / 1.175 GB, free: 2.887 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00269/0.9914, allocations: 0.8993 MB / 1.176 GB, free: 1.988 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005408/0.9968, allocations: 1.651 MB / 1.178 GB, free: 352 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002926/0.9997, allocations: 1.567 MB / 1.179 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006325/1, allocations: 335.4 kB / 1.18 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005133/1.006, allocations: 1.614 MB / 1.181 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003791/1.009, allocations: 2.096 MB / 1.183 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/1.009, allocations: 24 kB / 1.183 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005712/1.015, allocations: 2.669 MB / 1.186 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002504/1.015, allocations: 123.5 kB / 1.186 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003819/1.016, allocations: 153.4 kB / 1.186 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002631/1.019, allocations: 1.555 MB / 1.188 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/1.019, allocations: 0 / 1.188 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.364e-06/1.019, allocations: 0 / 1.188 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.695e-05/1.019, allocations: 0 / 1.188 GB, free: 6.184 MB / 0.9356 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.002116/1.021, allocations: 0.8928 MB / 1.189 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/1.021, allocations: 12.5 kB / 1.189 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/1.022, allocations: 139.1 kB / 1.189 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005931/1.022, allocations: 417.8 kB / 1.189 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/1.022, allocations: 37.31 kB / 1.189 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-05/1.023, allocations: 52 kB / 1.189 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/1.024, allocations: 0.6682 MB / 1.19 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/1.024, allocations: 0 / 1.19 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.415e-05/1.024, allocations: 27.95 kB / 1.19 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/1.024, allocations: 12 kB / 1.19 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/1.025, allocations: 499.5 kB / 1.19 GB, free: 3.312 MB / 0.9356 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.003697/1.029, allocations: 2.998 MB / 1.193 GB, free: 84 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006018/1.029, allocations: 266.5 kB / 1.194 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/1.03, allocations: 180.8 kB / 1.194 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01643/1.046, allocations: 5.812 MB / 1.2 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.919e-05/1.046, allocations: 47.09 kB / 1.2 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=36): time 2.926e-06/1.046, allocations: 0 / 1.2 GB, free: 9.539 MB / 0.9512 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.07499/1.121, allocations: 30.41 MB / 1.229 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.391e-05/1.121, allocations: 144.9 kB / 1.229 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000537/1.122, allocations: 369.6 kB / 1.23 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.605e-05/1.122, allocations: 37.7 kB / 1.23 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/1.122, allocations: 292.2 kB / 1.23 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/1.122, allocations: 185.2 kB / 1.23 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/1.123, allocations: 15.94 kB / 1.23 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002088/1.123, allocations: 358.7 kB / 1.231 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006167/1.123, allocations: 241 kB / 1.231 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007084/1.124, allocations: 376.5 kB / 1.231 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006357/1.125, allocations: 276.7 kB / 1.231 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/1.125, allocations: 3.938 kB / 1.231 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001963/1.127, allocations: 0.8014 MB / 1.232 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.127, allocations: 4 kB / 1.232 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/1.127, allocations: 4 kB / 1.232 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004861/1.127, allocations: 125.9 kB / 1.232 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005822/1.128, allocations: 131.8 kB / 1.232 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003341/1.131, allocations: 3.082 MB / 1.235 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006699/1.132, allocations: 68.03 kB / 1.236 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/1.132, allocations: 24 kB / 1.236 GB, free: 4.227 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000329/1.132, allocations: 197.7 kB / 1.236 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/1.133, allocations: 47.44 kB / 1.236 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/1.135, allocations: 0.797 MB / 1.237 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/1.135, allocations: 8 kB / 1.237 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/1.135, allocations: 0 / 1.237 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.135, allocations: 0 / 1.237 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02993/1.165, allocations: 10.56 MB / 1.247 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-05/1.165, allocations: 12.12 kB / 1.247 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/1.165, allocations: 103.8 kB / 1.247 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002374/1.165, allocations: 69.25 kB / 1.247 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.687e-05/1.165, allocations: 23.98 kB / 1.247 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/1.167, allocations: 1.557 MB / 1.249 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/1.167, allocations: 11.95 kB / 1.249 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/1.169, allocations: 0.9812 MB / 1.25 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/1.169, allocations: 140.5 kB / 1.25 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/1.17, allocations: 27.94 kB / 1.25 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006485/1.17, allocations: 51.94 kB / 1.25 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/1.17, allocations: 63.77 kB / 1.25 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/1.17, allocations: 24 kB / 1.25 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000502/1.171, allocations: 271.1 kB / 1.25 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.171, allocations: 4 kB / 1.25 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005617/1.177, allocations: 1.39 MB / 1.252 GB, free: 3.258 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009408/1.186, allocations: 0.7739 MB / 1.252 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002131/1.188, allocations: 0.7843 MB / 1.253 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/1.188, allocations: 4 kB / 1.253 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007758/1.189, allocations: 362.9 kB / 1.253 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/1.191, allocations: 240.1 kB / 1.254 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5622/1.753, allocations: 1.516 MB / 1.255 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/1.753, allocations: 0.8814 MB / 1.256 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007597/1.754, allocations: 123 kB / 1.256 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/1.754, allocations: 57.5 kB / 1.256 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.563e-06/1.754, allocations: 0 / 1.256 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.1069/1.861, allocations: 63.24 MB / 1.318 GB, free: 184 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches