Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 87.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.588/1.588, allocations: 177.1 MB / 203.9 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.009/3.009, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8108 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.316e-05, allocations: 3.562 kB / 0.8108 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.2268/0.2269, allocations: 159.1 MB / 0.9662 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01541/0.2423, allocations: 8.927 MB / 0.9749 GB, free: 8.371 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000888/0.2432, allocations: 23.81 kB / 0.9749 GB, free: 8.348 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.2446, allocations: 337.7 kB / 0.9753 GB, free: 8.016 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.00416/0.2487, allocations: 1.158 MB / 0.9764 GB, free: 6.852 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.007109/0.2558, allocations: 2.173 MB / 0.9785 GB, free: 4.672 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002518/0.2584, allocations: 1.406 MB / 0.9799 GB, free: 3.262 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008764/0.2592, allocations: 378.3 kB / 0.9803 GB, free: 2.883 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008718/0.2679, allocations: 2.42 MB / 0.9826 GB, free: 464 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003939/0.2719, allocations: 1.212 MB / 0.9838 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.000223/0.2721, allocations: 52 kB / 0.9839 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006504/0.2786, allocations: 2.809 MB / 0.9866 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003067/0.2789, allocations: 167.3 kB / 0.9868 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0005937/0.2795, allocations: 251.5 kB / 0.987 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.005463/0.285, allocations: 2.669 MB / 0.9896 GB, free: 9.293 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.285, allocations: 0 / 0.9896 GB, free: 9.293 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.372e-06/0.285, allocations: 0 / 0.9896 GB, free: 9.293 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.285, allocations: 0 / 0.9896 GB, free: 9.293 MB / 0.9011 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.002728/0.2877, allocations: 1.087 MB / 0.9907 GB, free: 8.168 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.2878, allocations: 8.031 kB / 0.9907 GB, free: 8.16 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.289, allocations: 239.1 kB / 0.9909 GB, free: 7.926 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007837/0.2898, allocations: 390.1 kB / 0.9913 GB, free: 7.52 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.125e-05/0.2899, allocations: 37.31 kB / 0.9913 GB, free: 7.48 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.29, allocations: 67.88 kB / 0.9914 GB, free: 7.414 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.2916, allocations: 1.06 MB / 0.9924 GB, free: 6.199 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/0.2916, allocations: 4 kB / 0.9924 GB, free: 6.195 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.386e-05/0.2917, allocations: 28 kB / 0.9924 GB, free: 6.168 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.2917, allocations: 12 kB / 0.9924 GB, free: 6.156 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.2928, allocations: 435.6 kB / 0.9929 GB, free: 5.73 MB / 0.9011 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.004102/0.2969, allocations: 2.924 MB / 0.9957 GB, free: 2.707 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006194/0.2975, allocations: 254.8 kB / 0.996 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.2978, allocations: 147.6 kB / 0.9961 GB, free: 2.297 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02019/0.318, allocations: 4.957 MB / 1.001 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.146e-05/0.3181, allocations: 41.39 kB / 1.001 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=36): time 2.465e-06/0.3181, allocations: 0 / 1.001 GB, free: 13.29 MB / 0.9167 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.08716/0.4052, allocations: 18.11 MB / 1.019 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.4053, allocations: 133 kB / 1.019 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006212/0.406, allocations: 446.6 kB / 1.019 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.496e-05/0.406, allocations: 33.7 kB / 1.019 GB, free: 10.53 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.4064, allocations: 363.4 kB / 1.02 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.4066, allocations: 198.4 kB / 1.02 GB, free: 9.969 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.4068, allocations: 131.9 kB / 1.02 GB, free: 9.828 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003399/0.4072, allocations: 0.543 MB / 1.02 GB, free: 9.273 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005339/0.4077, allocations: 221.2 kB / 1.021 GB, free: 9.059 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008111/0.4085, allocations: 490.7 kB / 1.021 GB, free: 8.488 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.4097, allocations: 0.6146 MB / 1.022 GB, free: 7.816 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.4097, allocations: 4 kB / 1.022 GB, free: 7.812 MB / 0.9323 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00213/0.4119, allocations: 0.8006 MB / 1.023 GB, free: 6.992 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.4119, allocations: 4.375 kB / 1.023 GB, free: 6.988 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.4119, allocations: 12 kB / 1.023 GB, free: 6.977 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006645/0.4126, allocations: 151.2 kB / 1.023 GB, free: 6.82 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005733/0.4131, allocations: 119.9 kB / 1.023 GB, free: 6.703 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005186/0.4183, allocations: 4.392 MB / 1.027 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006209/0.4189, allocations: 28.11 kB / 1.027 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/0.419, allocations: 23.98 kB / 1.027 GB, free: 2.023 MB / 0.9323 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.000383/0.4194, allocations: 236.4 kB / 1.027 GB, free: 1.781 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/0.4197, allocations: 91.36 kB / 1.027 GB, free: 1.691 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.4217, allocations: 0.806 MB / 1.028 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.4217, allocations: 8 kB / 1.028 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.4217, allocations: 0 / 1.028 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.4217, allocations: 3.984 kB / 1.028 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4277/0.8494, allocations: 1.556 MB / 1.03 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.8494, allocations: 3.844 kB / 1.03 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004903/0.8499, allocations: 96.27 kB / 1.03 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003529/0.8503, allocations: 97.05 kB / 1.03 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.8503, allocations: 18.08 kB / 1.03 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.8518, allocations: 2.247 MB / 1.032 GB, free: 218.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.8518, allocations: 7.688 kB / 1.032 GB, free: 218.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.854, allocations: 1.079 MB / 1.033 GB, free: 218.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.8541, allocations: 45.08 kB / 1.033 GB, free: 218.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-05/0.8542, allocations: 16.33 kB / 1.033 GB, free: 218.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004167/0.8546, allocations: 24.2 kB / 1.033 GB, free: 218.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.8547, allocations: 46.44 kB / 1.033 GB, free: 218.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-05/0.8548, allocations: 26.3 kB / 1.033 GB, free: 218.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004017/0.8552, allocations: 297.8 kB / 1.034 GB, free: 218.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9e-08/0.8552, allocations: 1.094 kB / 1.034 GB, free: 218.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00564/0.8608, allocations: 1.392 MB / 1.035 GB, free: 218.2 MB / 0.9323 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.007792/0.8686, allocations: 0.8335 MB / 1.036 GB, free: 218.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002021/0.8706, allocations: 0.9147 MB / 1.037 GB, free: 217.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/0.8707, allocations: 2.594 kB / 1.037 GB, free: 217.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000749/0.8714, allocations: 437.7 kB / 1.037 GB, free: 217.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.8728, allocations: 237.7 kB / 1.037 GB, free: 217.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.8748, allocations: 1.162 MB / 1.038 GB, free: 216.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.8753, allocations: 275.1 kB / 1.039 GB, free: 216.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005311/0.8758, allocations: 122.8 kB / 1.039 GB, free: 216.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.876, allocations: 56.47 kB / 1.039 GB, free: 216.5 MB / 0.9323 GB Notification: Performance of SimCode: time 1.153e-06/0.876, allocations: 5.094 kB / 1.039 GB, free: 216.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.08237/0.9583, allocations: 64.5 MB / 1.102 GB, free: 173.7 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.154788639047183]