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.001012/0.001012, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001357/0.001357, allocations: 168.7 kB / 15.95 MB, free: 204 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.478/1.478, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.988/2.988, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004319, allocations: 8.5 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3931, allocations: 159.6 MB / 1.058 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1798/0.573, allocations: 147.9 MB / 1.202 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0118/0.5848, allocations: 8.528 MB / 1.211 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006767/0.5855, allocations: 11.94 kB / 1.211 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009069/0.5865, allocations: 254.4 kB / 1.211 GB, free: 8.137 MB / 0.9669 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.002696/0.5892, allocations: 0.9081 MB / 1.212 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004854/0.594, allocations: 1.641 MB / 1.214 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002216/0.5963, allocations: 1.555 MB / 1.215 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005424/0.5968, allocations: 339.5 kB / 1.215 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005492/0.6023, allocations: 1.602 MB / 1.217 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003702/0.606, allocations: 2.107 MB / 1.219 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.6062, allocations: 28 kB / 1.219 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005772/0.612, allocations: 2.665 MB / 1.222 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000228/0.6122, allocations: 127.5 kB / 1.222 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003043/0.6125, allocations: 153.4 kB / 1.222 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.6148, allocations: 1.547 MB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.6148, allocations: 0 / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6148, allocations: 4 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.6148, allocations: 0 / 1.223 GB, free: 11.45 MB / 0.9825 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.00185/0.6167, allocations: 0.8927 MB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.6167, allocations: 12.03 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.6178, allocations: 151 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000613/0.6184, allocations: 405.9 kB / 1.225 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/0.6185, allocations: 41.31 kB / 1.225 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.466e-05/0.6186, allocations: 55.91 kB / 1.225 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.6199, allocations: 0.6721 MB / 1.226 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.6199, allocations: 3.953 kB / 1.226 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.509e-05/0.62, allocations: 24 kB / 1.226 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.62, allocations: 12 kB / 1.226 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.6211, allocations: 499.5 kB / 1.226 GB, free: 8.566 MB / 0.9825 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.003549/0.6246, allocations: 2.987 MB / 1.229 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005862/0.6252, allocations: 272.2 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003508/0.6256, allocations: 173.4 kB / 1.229 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01606/0.6417, allocations: 5.824 MB / 1.235 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.6417, allocations: 42.5 kB / 1.235 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 2.204e-06/0.6417, allocations: 0 / 1.235 GB, free: 14.8 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.7683/1.41, allocations: 30.42 MB / 1.265 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/1.41, allocations: 135.6 kB / 1.265 GB, free: 185 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005275/1.411, allocations: 366.8 kB / 1.265 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/1.411, allocations: 35.52 kB / 1.265 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/1.411, allocations: 294.5 kB / 1.266 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/1.411, allocations: 177.5 kB / 1.266 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/1.411, allocations: 13.06 kB / 1.266 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000108/1.411, allocations: 354.5 kB / 1.266 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005418/1.412, allocations: 242.6 kB / 1.266 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006413/1.412, allocations: 378.5 kB / 1.267 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005967/1.413, allocations: 282.6 kB / 1.267 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.413, allocations: 1.094 kB / 1.267 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001899/1.415, allocations: 0.8003 MB / 1.268 GB, free: 184 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/1.415, allocations: 9.062 kB / 1.268 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/1.415, allocations: 3.734 kB / 1.268 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004954/1.416, allocations: 119.4 kB / 1.268 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005932/1.416, allocations: 130.3 kB / 1.268 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/1.419, allocations: 3.093 MB / 1.271 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007208/1.419, allocations: 59.09 kB / 1.271 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/1.42, allocations: 27.47 kB / 1.271 GB, free: 181.3 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 (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.0003333/1.42, allocations: 191 kB / 1.271 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/1.42, allocations: 48.31 kB / 1.271 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/1.422, allocations: 0.812 MB / 1.272 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.422, allocations: 4.219 kB / 1.272 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/1.422, allocations: 0.875 kB / 1.272 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/1.422, allocations: 3.641 kB / 1.272 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02989/1.452, allocations: 10.55 MB / 1.283 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/1.452, allocations: 6.875 kB / 1.283 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/1.452, allocations: 113.7 kB / 1.283 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001978/1.453, allocations: 62.47 kB / 1.283 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/1.453, allocations: 22.02 kB / 1.283 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/1.454, allocations: 1.552 MB / 1.284 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/1.454, allocations: 15.8 kB / 1.284 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/1.455, allocations: 0.9942 MB / 1.285 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/1.456, allocations: 135.9 kB / 1.285 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/1.456, allocations: 21.16 kB / 1.285 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/1.456, allocations: 59.03 kB / 1.285 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/1.456, allocations: 55.09 kB / 1.285 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/1.456, allocations: 29.83 kB / 1.286 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003171/1.457, allocations: 275.1 kB / 1.286 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.457, allocations: 0 / 1.286 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005368/1.462, allocations: 1.388 MB / 1.287 GB, free: 176.6 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.008835/1.471, allocations: 0.7617 MB / 1.288 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002085/1.473, allocations: 0.7831 MB / 1.289 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/1.473, allocations: 4.125 kB / 1.289 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006408/1.474, allocations: 365.1 kB / 1.289 GB, free: 176 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/1.475, allocations: 245.5 kB / 1.289 GB, free: 176 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/1.477, allocations: 1.529 MB / 1.291 GB, free: 175 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/1.478, allocations: 0.8796 MB / 1.292 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005787/1.478, allocations: 132.3 kB / 1.292 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/1.478, allocations: 61.34 kB / 1.292 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/1.478, allocations: 0 / 1.292 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.09213/1.57, allocations: 63.24 MB / 1.354 GB, free: 113.9 MB / 0.9981 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/jenkins/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