Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001829/0.001829, allocations: 106 kB / 18.84 MB, free: 3.043 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.002558/0.002558, allocations: 190 kB / 22.1 MB, free: 5.152 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.582/1.582, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.486/3.486, allocations: 495.8 MB / 0.783 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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_12_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_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 65.05 kB / 1.137 GB, free: 33.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4084, allocations: 173.6 MB / 1.307 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.2069/0.6152, allocations: 162.3 MB / 1.465 GB, free: 14.95 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01225/0.6275, allocations: 8.12 MB / 1.473 GB, free: 6.801 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008183/0.6283, allocations: 23.81 kB / 1.473 GB, free: 6.777 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.6295, allocations: 353.8 kB / 1.474 GB, free: 6.43 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.6318, allocations: 0.7541 MB / 1.474 GB, free: 5.672 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005863/0.6377, allocations: 2.163 MB / 1.476 GB, free: 3.516 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002302/0.64, allocations: 1.384 MB / 1.478 GB, free: 2.129 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007402/0.6407, allocations: 370.1 kB / 1.478 GB, free: 1.758 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00442/0.6451, allocations: 1.494 MB / 1.48 GB, free: 264 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008546/0.646, allocations: 466.2 kB / 1.48 GB, free: 15.8 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.6461, allocations: 52 kB / 1.48 GB, free: 15.75 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007787/0.6539, allocations: 3.585 MB / 1.484 GB, free: 12.16 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003213/0.6542, allocations: 163.4 kB / 1.484 GB, free: 12 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007078/0.6549, allocations: 346.4 kB / 1.484 GB, free: 11.66 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005511/0.6604, allocations: 2.556 MB / 1.486 GB, free: 9.098 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.6604, allocations: 0 / 1.486 GB, free: 9.098 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.866e-06/0.6604, allocations: 0 / 1.486 GB, free: 9.098 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.6604, allocations: 4 kB / 1.486 GB, free: 9.094 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.002535/0.663, allocations: 0.964 MB / 1.487 GB, free: 8.098 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.663, allocations: 12.03 kB / 1.487 GB, free: 8.086 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.6641, allocations: 147.4 kB / 1.488 GB, free: 7.941 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007876/0.6649, allocations: 367.3 kB / 1.488 GB, free: 7.555 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.665, allocations: 41.31 kB / 1.488 GB, free: 7.512 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-05/0.6651, allocations: 56 kB / 1.488 GB, free: 7.457 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.6664, allocations: 0.6487 MB / 1.489 GB, free: 6.762 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.6664, allocations: 11.92 kB / 1.489 GB, free: 6.75 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-05/0.6665, allocations: 24 kB / 1.489 GB, free: 6.727 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.6665, allocations: 16 kB / 1.489 GB, free: 6.711 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.6676, allocations: 475.5 kB / 1.489 GB, free: 6.246 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.01775/0.6853, allocations: 5.963 MB / 1.495 GB, free: 132 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004902/0.6858, allocations: 155.1 kB / 1.495 GB, free: 15.97 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003122/0.6861, allocations: 117.3 kB / 1.495 GB, free: 15.85 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01281/0.6989, allocations: 3.251 MB / 1.498 GB, free: 12.6 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/0.699, allocations: 38.8 kB / 1.498 GB, free: 12.55 MB / 1.201 GB Notification: Performance of pre-optimization done (n=27): time 1.913e-06/0.699, allocations: 0 / 1.498 GB, free: 12.55 MB / 1.201 GB Notification: Performance of matching and sorting (n=40): time 0.09439/0.7934, allocations: 30.55 MB / 1.528 GB, free: 14 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.7935, allocations: 136.5 kB / 1.528 GB, free: 13.83 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006445/0.7941, allocations: 469.7 kB / 1.529 GB, free: 13.37 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.7942, allocations: 37.64 kB / 1.529 GB, free: 13.32 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.7944, allocations: 316.2 kB / 1.529 GB, free: 13.01 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.7946, allocations: 146.7 kB / 1.529 GB, free: 12.87 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.7948, allocations: 106.3 kB / 1.529 GB, free: 12.76 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.795, allocations: 358.8 kB / 1.53 GB, free: 12.4 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004691/0.7954, allocations: 177.2 kB / 1.53 GB, free: 12.22 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.7961, allocations: 354.2 kB / 1.53 GB, free: 11.81 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.7971, allocations: 0.523 MB / 1.531 GB, free: 11.23 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.7971, allocations: 0 / 1.531 GB, free: 11.23 MB / 1.232 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001913/0.799, allocations: 0.6977 MB / 1.531 GB, free: 10.52 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.799, allocations: 8 kB / 1.531 GB, free: 10.51 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.799, allocations: 7.938 kB / 1.532 GB, free: 10.5 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005491/0.7996, allocations: 121.5 kB / 1.532 GB, free: 10.38 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.8001, allocations: 108.1 kB / 1.532 GB, free: 10.27 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003677/0.8037, allocations: 3.203 MB / 1.535 GB, free: 6.84 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005774/0.8043, allocations: 23.98 kB / 1.535 GB, free: 6.816 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.829e-05/0.8044, allocations: 35.97 kB / 1.535 GB, free: 6.781 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.0003443/0.8047, allocations: 193.7 kB / 1.535 GB, free: 6.582 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/0.805, allocations: 59.61 kB / 1.535 GB, free: 6.523 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.8065, allocations: 0.6498 MB / 1.536 GB, free: 5.84 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.8065, allocations: 4 kB / 1.536 GB, free: 5.836 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.8065, allocations: 0 / 1.536 GB, free: 5.836 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.8065, allocations: 3.984 kB / 1.536 GB, free: 5.832 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.8089, allocations: 1.167 MB / 1.537 GB, free: 4.562 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.8089, allocations: 4 kB / 1.537 GB, free: 4.559 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/0.8093, allocations: 67.91 kB / 1.537 GB, free: 4.492 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002892/0.8096, allocations: 68.8 kB / 1.537 GB, free: 4.422 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.8096, allocations: 8 kB / 1.537 GB, free: 4.414 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.8116, allocations: 1.638 MB / 1.539 GB, free: 2.668 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.8116, allocations: 12.05 kB / 1.539 GB, free: 2.656 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.8132, allocations: 0.7355 MB / 1.539 GB, free: 1.855 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.8133, allocations: 51.66 kB / 1.539 GB, free: 1.805 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.599e-05/0.8134, allocations: 15.94 kB / 1.539 GB, free: 1.789 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.8138, allocations: 24.05 kB / 1.539 GB, free: 1.766 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.657e-05/0.8139, allocations: 35.83 kB / 1.54 GB, free: 1.73 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.8139, allocations: 19.98 kB / 1.54 GB, free: 1.711 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004942/0.8144, allocations: 354.9 kB / 1.54 GB, free: 1.363 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.8144, allocations: 0 / 1.54 GB, free: 1.363 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00198/0.8164, allocations: 0.5695 MB / 1.54 GB, free: 0.793 MB / 1.232 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.002096/0.8185, allocations: 0.5537 MB / 1.541 GB, free: 244 kB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.8202, allocations: 0.6424 MB / 1.542 GB, free: 15.57 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.8202, allocations: 3.938 kB / 1.542 GB, free: 15.57 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006033/0.8208, allocations: 283.3 kB / 1.542 GB, free: 15.28 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.8224, allocations: 299 kB / 1.542 GB, free: 14.99 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.8245, allocations: 1.14 MB / 1.543 GB, free: 13.77 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005821/0.8251, allocations: 0.8628 MB / 1.544 GB, free: 12.88 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0004445/0.8255, allocations: 116.5 kB / 1.544 GB, free: 12.77 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.8257, allocations: 43.44 kB / 1.544 GB, free: 12.73 MB / 1.248 GB Notification: Performance of SimCode: time 9.52e-07/0.8257, allocations: 11.88 kB / 1.544 GB, free: 12.71 MB / 1.248 GB Notification: Performance of Templates: time 0.03983/0.8655, allocations: 23.43 MB / 1.567 GB, free: 5.508 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.784529342316091]