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.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.001581/0.001581, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.002025/0.002025, allocations: 222.8 kB / 23 MB, free: 4.914 MB / 14.72 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.366/3.366, allocations: 0.4892 GB / 0.7951 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 67.66 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3827, allocations: 176.1 MB / 1.326 GB, free: 1.762 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.2029/0.5857, allocations: 144.3 MB / 1.467 GB, free: 0.9141 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01233/0.598, allocations: 7.491 MB / 1.475 GB, free: 9.395 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007516/0.5987, allocations: 19.88 kB / 1.475 GB, free: 9.375 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.5999, allocations: 333.8 kB / 1.475 GB, free: 9.047 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.6022, allocations: 0.7619 MB / 1.476 GB, free: 8.281 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006036/0.6083, allocations: 2.151 MB / 1.478 GB, free: 6.137 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002311/0.6106, allocations: 1.384 MB / 1.479 GB, free: 4.75 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007016/0.6113, allocations: 361.8 kB / 1.479 GB, free: 4.391 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004088/0.6154, allocations: 1.49 MB / 1.481 GB, free: 2.895 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008367/0.6162, allocations: 434.1 kB / 1.481 GB, free: 2.469 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 9.426e-05/0.6163, allocations: 52 kB / 1.481 GB, free: 2.418 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007634/0.6239, allocations: 3.507 MB / 1.485 GB, free: 14.91 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003176/0.6242, allocations: 159.4 kB / 1.485 GB, free: 14.75 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005546/0.6248, allocations: 294.8 kB / 1.485 GB, free: 14.46 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004937/0.6297, allocations: 2.564 MB / 1.488 GB, free: 11.89 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.6297, allocations: 4 kB / 1.488 GB, free: 11.89 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.624e-06/0.6297, allocations: 0 / 1.488 GB, free: 11.89 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.6298, allocations: 3.938 kB / 1.488 GB, free: 11.88 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.002356/0.6321, allocations: 0.9718 MB / 1.489 GB, free: 10.88 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.6322, allocations: 8.031 kB / 1.489 GB, free: 10.87 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.6333, allocations: 143.5 kB / 1.489 GB, free: 10.73 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007803/0.634, allocations: 363.3 kB / 1.489 GB, free: 10.34 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.6341, allocations: 41.31 kB / 1.489 GB, free: 10.3 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.6342, allocations: 55.95 kB / 1.489 GB, free: 10.25 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.6357, allocations: 0.9828 MB / 1.49 GB, free: 9.133 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.6357, allocations: 3.938 kB / 1.49 GB, free: 9.129 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.483e-05/0.6358, allocations: 24 kB / 1.49 GB, free: 9.105 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.6358, allocations: 16 kB / 1.49 GB, free: 9.09 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.6369, allocations: 467.5 kB / 1.491 GB, free: 8.633 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.01705/0.6539, allocations: 5.51 MB / 1.496 GB, free: 3.043 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.6544, allocations: 159.1 kB / 1.496 GB, free: 2.879 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.6547, allocations: 117.3 kB / 1.496 GB, free: 2.762 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01238/0.667, allocations: 3.262 MB / 1.5 GB, free: 15.5 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.368e-05/0.6671, allocations: 38.8 kB / 1.5 GB, free: 15.45 MB / 1.201 GB Notification: Performance of pre-optimization done (n=27): time 2.665e-06/0.6671, allocations: 0 / 1.5 GB, free: 15.45 MB / 1.201 GB Notification: Performance of matching and sorting (n=40): time 0.09088/0.758, allocations: 30.53 MB / 1.529 GB, free: 0.9023 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.7581, allocations: 144.4 kB / 1.53 GB, free: 0.7305 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004784/0.7586, allocations: 357.5 kB / 1.53 GB, free: 384 kB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/0.7586, allocations: 33.7 kB / 1.53 GB, free: 344 kB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.7589, allocations: 332.4 kB / 1.53 GB, free: 4 kB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.759, allocations: 146.9 kB / 1.53 GB, free: 15.86 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.7592, allocations: 102.3 kB / 1.53 GB, free: 15.75 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.7594, allocations: 350.7 kB / 1.531 GB, free: 15.4 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/0.7598, allocations: 181.2 kB / 1.531 GB, free: 15.22 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006412/0.7605, allocations: 435.2 kB / 1.531 GB, free: 14.71 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.7615, allocations: 0.5169 MB / 1.532 GB, free: 14.13 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7615, allocations: 4 kB / 1.532 GB, free: 14.13 MB / 1.232 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001834/0.7633, allocations: 0.686 MB / 1.533 GB, free: 13.43 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.7633, allocations: 8 kB / 1.533 GB, free: 13.43 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.7634, allocations: 4 kB / 1.533 GB, free: 13.42 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005307/0.7639, allocations: 121.5 kB / 1.533 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004802/0.7644, allocations: 111.9 kB / 1.533 GB, free: 13.19 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/0.7678, allocations: 3.154 MB / 1.536 GB, free: 9.836 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000523/0.7684, allocations: 27.98 kB / 1.536 GB, free: 9.809 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/0.7684, allocations: 23.98 kB / 1.536 GB, free: 9.785 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.00033/0.7687, allocations: 194.2 kB / 1.536 GB, free: 9.586 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.769, allocations: 47.72 kB / 1.536 GB, free: 9.539 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.7705, allocations: 0.643 MB / 1.537 GB, free: 8.859 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.7705, allocations: 4 kB / 1.537 GB, free: 8.855 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.7705, allocations: 0 / 1.537 GB, free: 8.855 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.7705, allocations: 11.94 kB / 1.537 GB, free: 8.844 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.7727, allocations: 1.037 MB / 1.538 GB, free: 7.719 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.7727, allocations: 4 kB / 1.538 GB, free: 7.715 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003425/0.7731, allocations: 63.89 kB / 1.538 GB, free: 7.652 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002745/0.7733, allocations: 77.25 kB / 1.538 GB, free: 7.574 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.7734, allocations: 8 kB / 1.538 GB, free: 7.566 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.7753, allocations: 1.614 MB / 1.54 GB, free: 5.855 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.7753, allocations: 7.938 kB / 1.54 GB, free: 5.848 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.7768, allocations: 0.7091 MB / 1.54 GB, free: 5.07 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 9.181e-05/0.7769, allocations: 43.75 kB / 1.54 GB, free: 5.027 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.136e-05/0.777, allocations: 8 kB / 1.54 GB, free: 5.02 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.7773, allocations: 19.98 kB / 1.54 GB, free: 5 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.7774, allocations: 39.83 kB / 1.54 GB, free: 4.961 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.7775, allocations: 24.05 kB / 1.54 GB, free: 4.938 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003559/0.7778, allocations: 263.2 kB / 1.541 GB, free: 4.684 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7778, allocations: 0 / 1.541 GB, free: 4.684 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001889/0.7797, allocations: 0.5656 MB / 1.541 GB, free: 4.117 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.001956/0.7817, allocations: 0.5412 MB / 1.542 GB, free: 3.562 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001711/0.7834, allocations: 0.656 MB / 1.542 GB, free: 2.883 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.7834, allocations: 0 / 1.542 GB, free: 2.883 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.000581/0.784, allocations: 267.4 kB / 1.543 GB, free: 2.609 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.7852, allocations: 207.5 kB / 1.543 GB, free: 2.418 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.7873, allocations: 1.161 MB / 1.544 GB, free: 1.172 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.7876, allocations: 270.3 kB / 1.544 GB, free: 0.8789 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.7878, allocations: 47.42 kB / 1.544 GB, free: 0.832 MB / 1.232 GB Notification: Performance of SimCode: time 6.81e-07/0.7878, allocations: 3.938 kB / 1.544 GB, free: 0.8281 MB / 1.232 GB Notification: Performance of Templates: time 0.03102/0.8188, allocations: 18.87 MB / 1.563 GB, free: 14.04 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/jenkins1/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: 14.594044093042612]