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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.541/2.541, allocations: 443.5 MB / 0.7293 GB, free: 14.66 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.91 kB / 1.057 GB, free: 2.094 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3779, allocations: 160.7 MB / 1.214 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.8845/1.262, allocations: 163.2 MB / 1.373 GB, free: 14.65 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0137/1.276, allocations: 8.894 MB / 1.382 GB, free: 8.777 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008389/1.277, allocations: 18.72 kB / 1.382 GB, free: 8.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/1.278, allocations: 358.3 kB / 1.383 GB, free: 8.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003869/1.282, allocations: 1.133 MB / 1.384 GB, free: 7.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006439/1.289, allocations: 2.144 MB / 1.386 GB, free: 6.125 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002352/1.291, allocations: 1.386 MB / 1.387 GB, free: 5.324 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007068/1.292, allocations: 369.9 kB / 1.387 GB, free: 5.074 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005635/1.297, allocations: 2.141 MB / 1.39 GB, free: 3.652 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003414/1.301, allocations: 1.327 MB / 1.391 GB, free: 2.758 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001638/1.301, allocations: 51.34 kB / 1.391 GB, free: 2.758 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006626/1.308, allocations: 2.897 MB / 1.394 GB, free: 1.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003412/1.308, allocations: 154.7 kB / 1.394 GB, free: 1.148 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007422/1.309, allocations: 347.7 kB / 1.394 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004609/1.313, allocations: 2.234 MB / 1.396 GB, free: 15.47 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/1.313, allocations: 0 / 1.396 GB, free: 15.47 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.404e-06/1.313, allocations: 0 / 1.396 GB, free: 15.47 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.327e-05/1.313, allocations: 0 / 1.396 GB, free: 15.47 MB / 1.076 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.002611/1.316, allocations: 1.02 MB / 1.397 GB, free: 14.67 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/1.316, allocations: 9.625 kB / 1.397 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/1.317, allocations: 152.6 kB / 1.397 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008262/1.318, allocations: 439.3 kB / 1.398 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/1.318, allocations: 42.16 kB / 1.398 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/1.318, allocations: 54.23 kB / 1.398 GB, free: 14.16 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/1.319, allocations: 0.6572 MB / 1.399 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/1.319, allocations: 2 kB / 1.399 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/1.319, allocations: 30.41 kB / 1.399 GB, free: 13.69 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/1.319, allocations: 22 kB / 1.399 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/1.32, allocations: 490.5 kB / 1.399 GB, free: 13.45 MB / 1.076 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.003874/1.324, allocations: 2.988 MB / 1.402 GB, free: 10.65 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006224/1.325, allocations: 263.5 kB / 1.402 GB, free: 10.51 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003379/1.325, allocations: 157.3 kB / 1.402 GB, free: 10.43 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01815/1.343, allocations: 5.811 MB / 1.408 GB, free: 7.379 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.253e-05/1.344, allocations: 43.62 kB / 1.408 GB, free: 7.332 MB / 1.076 GB Notification: Performance of pre-optimization done (n=36): time 2.134e-06/1.344, allocations: 3.938 kB / 1.408 GB, free: 7.328 MB / 1.076 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.09375/1.437, allocations: 31.9 MB / 1.439 GB, free: 9.988 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.346e-05/1.437, allocations: 141 kB / 1.439 GB, free: 9.82 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005254/1.438, allocations: 381.5 kB / 1.44 GB, free: 9.441 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/1.438, allocations: 37.69 kB / 1.44 GB, free: 9.398 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/1.438, allocations: 296.8 kB / 1.44 GB, free: 9.102 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/1.438, allocations: 190.4 kB / 1.44 GB, free: 8.914 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/1.439, allocations: 106.2 kB / 1.44 GB, free: 8.805 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000168/1.439, allocations: 358.8 kB / 1.441 GB, free: 8.445 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005835/1.439, allocations: 237 kB / 1.441 GB, free: 8.211 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007052/1.44, allocations: 368.5 kB / 1.441 GB, free: 7.801 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/1.441, allocations: 0.5981 MB / 1.442 GB, free: 7.16 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.441, allocations: 0 / 1.442 GB, free: 7.16 MB / 1.107 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002087/1.443, allocations: 0.7902 MB / 1.443 GB, free: 6.355 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.443, allocations: 12.06 kB / 1.443 GB, free: 6.344 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.443, allocations: 7.938 kB / 1.443 GB, free: 6.336 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005295/1.444, allocations: 117.6 kB / 1.443 GB, free: 6.215 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005903/1.444, allocations: 135.7 kB / 1.443 GB, free: 6.086 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003556/1.448, allocations: 3.421 MB / 1.446 GB, free: 2.387 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006648/1.449, allocations: 43.89 kB / 1.446 GB, free: 2.344 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/1.449, allocations: 20 kB / 1.446 GB, free: 2.324 MB / 1.107 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.0003336/1.449, allocations: 197.8 kB / 1.447 GB, free: 2.121 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/1.449, allocations: 55.67 kB / 1.447 GB, free: 2.066 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/1.451, allocations: 0.7918 MB / 1.447 GB, free: 1.266 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/1.451, allocations: 11.94 kB / 1.447 GB, free: 1.254 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/1.451, allocations: 0 / 1.447 GB, free: 1.254 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/1.451, allocations: 2.938 kB / 1.447 GB, free: 1.254 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003393/1.455, allocations: 1.622 MB / 1.449 GB, free: 15.53 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/1.455, allocations: 4 kB / 1.449 GB, free: 15.53 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005081/1.455, allocations: 103.8 kB / 1.449 GB, free: 15.43 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000261/1.455, allocations: 65.2 kB / 1.449 GB, free: 15.36 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/1.455, allocations: 23.98 kB / 1.449 GB, free: 15.34 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/1.457, allocations: 1.775 MB / 1.451 GB, free: 13.42 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.457, allocations: 0 / 1.451 GB, free: 13.42 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/1.46, allocations: 1.02 MB / 1.452 GB, free: 12.34 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/1.46, allocations: 140.7 kB / 1.452 GB, free: 12.18 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.79e-05/1.46, allocations: 15.94 kB / 1.452 GB, free: 12.17 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/1.46, allocations: 36.03 kB / 1.452 GB, free: 12.13 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/1.461, allocations: 39.89 kB / 1.452 GB, free: 12.09 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.292e-05/1.461, allocations: 24.86 kB / 1.452 GB, free: 12.07 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005003/1.461, allocations: 354.8 kB / 1.453 GB, free: 11.72 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.461, allocations: 4 kB / 1.453 GB, free: 11.72 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004994/1.466, allocations: 1.394 MB / 1.454 GB, free: 10.32 MB / 1.123 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.008373/1.474, allocations: 0.7697 MB / 1.455 GB, free: 9.559 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002063/1.477, allocations: 0.7684 MB / 1.455 GB, free: 8.762 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.477, allocations: 7.938 kB / 1.455 GB, free: 8.754 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008002/1.477, allocations: 375.3 kB / 1.456 GB, free: 8.375 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/1.479, allocations: 336.2 kB / 1.456 GB, free: 8.051 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/1.481, allocations: 1.23 MB / 1.457 GB, free: 6.754 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/1.482, allocations: 0.8751 MB / 1.458 GB, free: 5.852 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/1.482, allocations: 67.42 kB / 1.458 GB, free: 5.785 MB / 1.123 GB Notification: Performance of SimCode: time 9.02e-07/1.482, allocations: 0 / 1.458 GB, free: 5.785 MB / 1.123 GB Notification: Performance of Templates: time 0.0676/1.55, allocations: 42.35 MB / 1.5 GB, free: 12.11 MB / 1.17 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.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.695203363895416]