Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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.001662/0.001662, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002313/0.002313, allocations: 192.1 kB / 22.17 MB, free: 5.648 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.516/1.516, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.254/3.254, allocations: 497.2 MB / 0.7845 GB, free: 33.67 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,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_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,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_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 68.58 kB / 1.139 GB, free: 33.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3307, allocations: 173.9 MB / 1.309 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1921/0.5228, allocations: 164 MB / 1.469 GB, free: 11.35 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01218/0.535, allocations: 8.161 MB / 1.477 GB, free: 3.16 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007278/0.5357, allocations: 19.94 kB / 1.477 GB, free: 3.141 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.537, allocations: 365.7 kB / 1.478 GB, free: 2.781 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.5392, allocations: 0.746 MB / 1.479 GB, free: 2.035 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005504/0.5447, allocations: 2.152 MB / 1.481 GB, free: 15.89 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001982/0.5467, allocations: 1.368 MB / 1.482 GB, free: 14.52 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000768/0.5474, allocations: 365.4 kB / 1.482 GB, free: 14.15 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003506/0.5509, allocations: 1.459 MB / 1.484 GB, free: 12.68 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009093/0.5518, allocations: 466.1 kB / 1.484 GB, free: 12.23 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.552, allocations: 52 kB / 1.484 GB, free: 12.18 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007524/0.5595, allocations: 3.636 MB / 1.488 GB, free: 8.535 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002905/0.5598, allocations: 155.4 kB / 1.488 GB, free: 8.383 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006105/0.5604, allocations: 342.5 kB / 1.488 GB, free: 8.047 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005101/0.5655, allocations: 2.575 MB / 1.491 GB, free: 5.465 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5655, allocations: 0 / 1.491 GB, free: 5.465 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5655, allocations: 0 / 1.491 GB, free: 5.465 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.971e-05/0.5656, allocations: 0 / 1.491 GB, free: 5.465 MB / 1.186 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.002502/0.5681, allocations: 1.043 MB / 1.492 GB, free: 4.371 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.5681, allocations: 8.625 kB / 1.492 GB, free: 4.363 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.5693, allocations: 135.5 kB / 1.492 GB, free: 4.23 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007679/0.57, allocations: 437.8 kB / 1.492 GB, free: 3.762 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.5701, allocations: 37.31 kB / 1.492 GB, free: 3.727 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/0.5702, allocations: 52 kB / 1.492 GB, free: 3.676 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.5714, allocations: 0.6604 MB / 1.493 GB, free: 2.965 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.5714, allocations: 3.938 kB / 1.493 GB, free: 2.961 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.338e-05/0.5715, allocations: 24 kB / 1.493 GB, free: 2.938 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.5715, allocations: 12 kB / 1.493 GB, free: 2.926 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.5726, allocations: 475.5 kB / 1.494 GB, free: 2.461 MB / 1.186 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.01774/0.5903, allocations: 6.503 MB / 1.5 GB, free: 11.68 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004885/0.5908, allocations: 147.9 kB / 1.5 GB, free: 11.53 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.5911, allocations: 121.3 kB / 1.5 GB, free: 11.41 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0131/0.6042, allocations: 3.845 MB / 1.504 GB, free: 7.41 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.618e-05/0.6043, allocations: 42.78 kB / 1.504 GB, free: 7.359 MB / 1.201 GB Notification: Performance of pre-optimization done (n=27): time 3.076e-06/0.6043, allocations: 0 / 1.504 GB, free: 7.359 MB / 1.201 GB Notification: Performance of matching and sorting (n=40): time 0.09341/0.6977, allocations: 30.62 MB / 1.534 GB, free: 8.707 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.34e-05/0.6978, allocations: 136.5 kB / 1.534 GB, free: 8.543 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007866/0.6986, allocations: 469.6 kB / 1.534 GB, free: 8.082 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.439e-05/0.6987, allocations: 37.7 kB / 1.534 GB, free: 8.039 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/0.6989, allocations: 312.1 kB / 1.535 GB, free: 7.73 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.6991, allocations: 142.8 kB / 1.535 GB, free: 7.59 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.6993, allocations: 114.2 kB / 1.535 GB, free: 7.473 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.6995, allocations: 358.8 kB / 1.535 GB, free: 7.113 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004555/0.6999, allocations: 181 kB / 1.536 GB, free: 6.934 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006645/0.7006, allocations: 345.2 kB / 1.536 GB, free: 6.531 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.7016, allocations: 0.524 MB / 1.536 GB, free: 5.949 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7016, allocations: 0 / 1.536 GB, free: 5.949 MB / 1.232 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002/0.7036, allocations: 0.692 MB / 1.537 GB, free: 5.246 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.7036, allocations: 16.05 kB / 1.537 GB, free: 5.23 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.7036, allocations: 4 kB / 1.537 GB, free: 5.227 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005233/0.7042, allocations: 117.7 kB / 1.537 GB, free: 5.105 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/0.7047, allocations: 111.8 kB / 1.537 GB, free: 4.996 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003812/0.7085, allocations: 3.414 MB / 1.541 GB, free: 1.301 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005752/0.7091, allocations: 31.92 kB / 1.541 GB, free: 1.27 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.7092, allocations: 23.98 kB / 1.541 GB, free: 1.246 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 58 * 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.0003065/0.7095, allocations: 197.8 kB / 1.541 GB, free: 1.043 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.7098, allocations: 59.61 kB / 1.541 GB, free: 0.9844 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.7114, allocations: 0.6545 MB / 1.542 GB, free: 308 kB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.7114, allocations: 4 kB / 1.542 GB, free: 304 kB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.7114, allocations: 0 / 1.542 GB, free: 304 kB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.7114, allocations: 3.984 kB / 1.542 GB, free: 300 kB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/0.7139, allocations: 1.192 MB / 1.543 GB, free: 14.99 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/0.7139, allocations: 8.062 kB / 1.543 GB, free: 14.98 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.7143, allocations: 63.91 kB / 1.543 GB, free: 14.92 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002867/0.7146, allocations: 68.8 kB / 1.543 GB, free: 14.85 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.7146, allocations: 16 kB / 1.543 GB, free: 14.84 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.7166, allocations: 1.732 MB / 1.545 GB, free: 12.97 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/0.7167, allocations: 11.98 kB / 1.545 GB, free: 12.96 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.7184, allocations: 0.7286 MB / 1.545 GB, free: 12.16 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/0.7186, allocations: 128.8 kB / 1.545 GB, free: 12.02 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.512e-05/0.7187, allocations: 8 kB / 1.545 GB, free: 12.01 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/0.7191, allocations: 19.98 kB / 1.545 GB, free: 11.99 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.1e-05/0.7192, allocations: 43.91 kB / 1.545 GB, free: 11.95 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.7192, allocations: 15.98 kB / 1.545 GB, free: 11.93 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005775/0.7198, allocations: 358.8 kB / 1.546 GB, free: 11.58 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7198, allocations: 0 / 1.546 GB, free: 11.58 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001914/0.7217, allocations: 0.5579 MB / 1.546 GB, free: 11.02 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (29): * Single equations (assignments): 28 * 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.002108/0.7238, allocations: 0.5696 MB / 1.547 GB, free: 10.45 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001864/0.7257, allocations: 0.6478 MB / 1.548 GB, free: 9.781 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.7257, allocations: 7.938 kB / 1.548 GB, free: 9.773 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0007129/0.7264, allocations: 274.4 kB / 1.548 GB, free: 9.492 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.728, allocations: 302.5 kB / 1.548 GB, free: 9.199 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.7304, allocations: 1.142 MB / 1.549 GB, free: 7.977 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007457/0.7311, allocations: 0.8628 MB / 1.55 GB, free: 7.086 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.000523/0.7316, allocations: 111.9 kB / 1.55 GB, free: 6.984 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.7318, allocations: 51.42 kB / 1.55 GB, free: 6.934 MB / 1.248 GB Notification: Performance of SimCode: time 7.22e-07/0.7318, allocations: 7.875 kB / 1.55 GB, free: 6.926 MB / 1.248 GB Notification: Performance of Templates: time 0.03928/0.771, allocations: 23.31 MB / 1.573 GB, free: 15.84 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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: 10.150128172710538]