Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002368/0.002368, allocations: 83.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.002766/0.002766, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.59/1.59, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.886/2.886, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.921e-06/5.921e-06, allocations: 4 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.558e-05/5.15e-05, allocations: 9.203 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.2328/0.2329, allocations: 159.7 MB / 0.9423 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01522/0.2481, allocations: 8.21 MB / 0.9503 GB, free: 4.375 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009152/0.249, allocations: 23.81 kB / 0.9504 GB, free: 4.352 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.2504, allocations: 325.8 kB / 0.9507 GB, free: 4.031 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.2531, allocations: 0.7846 MB / 0.9514 GB, free: 3.242 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.006465/0.2596, allocations: 2.169 MB / 0.9536 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002555/0.2621, allocations: 1.391 MB / 0.9549 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.2634, allocations: 394.2 kB / 0.9553 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005192/0.2686, allocations: 1.689 MB / 0.9569 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.2697, allocations: 394.8 kB / 0.9573 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002016/0.2699, allocations: 52 kB / 0.9574 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008784/0.2787, allocations: 3.515 MB / 0.9608 GB, free: 9.629 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003789/0.279, allocations: 167.4 kB / 0.961 GB, free: 9.465 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0007534/0.2798, allocations: 251.4 kB / 0.9612 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00771/0.2875, allocations: 3.153 MB / 0.9643 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2875, allocations: 0 / 0.9643 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2875, allocations: 0 / 0.9643 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.188e-05/0.2876, allocations: 0 / 0.9643 GB, free: 6.059 MB / 0.9167 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.003077/0.2906, allocations: 1.095 MB / 0.9653 GB, free: 4.922 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2907, allocations: 8.031 kB / 0.9654 GB, free: 4.914 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.2922, allocations: 246.8 kB / 0.9656 GB, free: 4.672 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009022/0.2931, allocations: 382.2 kB / 0.966 GB, free: 4.273 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/0.2931, allocations: 37.31 kB / 0.966 GB, free: 4.238 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.2932, allocations: 60 kB / 0.966 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.295, allocations: 1.056 MB / 0.9671 GB, free: 2.961 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.295, allocations: 7.953 kB / 0.9671 GB, free: 2.953 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-05/0.2951, allocations: 28 kB / 0.9671 GB, free: 2.926 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.2951, allocations: 15.94 kB / 0.9671 GB, free: 2.91 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.2962, allocations: 419.6 kB / 0.9675 GB, free: 2.504 MB / 0.9167 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.01884/0.3151, allocations: 6.268 MB / 0.9736 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.3155, allocations: 151.7 kB / 0.9738 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.3158, allocations: 108.1 kB / 0.9739 GB, free: 11.86 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01336/0.3292, allocations: 3.286 MB / 0.9771 GB, free: 8.57 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.39e-05/0.3293, allocations: 45.56 kB / 0.9771 GB, free: 8.516 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=27): time 2.234e-06/0.3293, allocations: 0 / 0.9771 GB, free: 8.516 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40): time 0.08427/0.4135, allocations: 16.99 MB / 0.9937 GB, free: 7.504 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.4136, allocations: 140.5 kB / 0.9939 GB, free: 7.336 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006349/0.4143, allocations: 458.5 kB / 0.9943 GB, free: 6.875 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.69e-05/0.4143, allocations: 41.62 kB / 0.9943 GB, free: 6.828 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/0.4147, allocations: 387.2 kB / 0.9947 GB, free: 6.441 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.4149, allocations: 158.7 kB / 0.9949 GB, free: 6.285 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002296/0.4151, allocations: 123.9 kB / 0.995 GB, free: 6.156 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003692/0.4155, allocations: 0.543 MB / 0.9955 GB, free: 5.602 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/0.4159, allocations: 165.2 kB / 0.9957 GB, free: 5.438 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007267/0.4166, allocations: 488.3 kB / 0.9961 GB, free: 4.848 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.4177, allocations: 0.5608 MB / 0.9967 GB, free: 4.207 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.4177, allocations: 4 kB / 0.9967 GB, free: 4.203 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002204/0.4199, allocations: 0.6989 MB / 0.9974 GB, free: 3.488 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.4199, allocations: 4 kB / 0.9974 GB, free: 3.484 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.42, allocations: 8 kB / 0.9974 GB, free: 3.477 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006939/0.4206, allocations: 139.8 kB / 0.9975 GB, free: 3.332 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.4211, allocations: 107.8 kB / 0.9976 GB, free: 3.227 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004707/0.4258, allocations: 4.36 MB / 1.002 GB, free: 14.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00052/0.4263, allocations: 27.92 kB / 1.002 GB, free: 14.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.745e-05/0.4264, allocations: 24 kB / 1.002 GB, free: 14.57 MB / 0.9636 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.0004007/0.4268, allocations: 228.4 kB / 1.002 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/0.4271, allocations: 67.59 kB / 1.002 GB, free: 14.27 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.4287, allocations: 0.655 MB / 1.003 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.4287, allocations: 4 kB / 1.003 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.4288, allocations: 4 kB / 1.003 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.4288, allocations: 3.984 kB / 1.003 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/0.4316, allocations: 1.32 MB / 1.004 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.4316, allocations: 4 kB / 1.004 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.4319, allocations: 64.09 kB / 1.004 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006932/0.4326, allocations: 91.62 kB / 1.004 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.4326, allocations: 19.92 kB / 1.004 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002453/0.4351, allocations: 2.208 MB / 1.006 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.4351, allocations: 4 kB / 1.006 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.4368, allocations: 0.8138 MB / 1.007 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.4369, allocations: 47.75 kB / 1.007 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.518e-05/0.437, allocations: 12 kB / 1.007 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.4374, allocations: 23.98 kB / 1.007 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.4375, allocations: 35.83 kB / 1.007 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.026e-05/0.4375, allocations: 20 kB / 1.007 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004247/0.4379, allocations: 315 kB / 1.008 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.4379, allocations: 0 / 1.008 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001995/0.4399, allocations: 0.5229 MB / 1.008 GB, free: 7.723 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (31): * Single equations (assignments): 30 * 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.0024/0.4423, allocations: 0.5482 MB / 1.009 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001775/0.4441, allocations: 0.7645 MB / 1.01 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.4441, allocations: 7.953 kB / 1.01 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006272/0.4447, allocations: 342.1 kB / 1.01 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.4461, allocations: 225.4 kB / 1.01 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.4486, allocations: 1.128 MB / 1.011 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.4489, allocations: 262.5 kB / 1.011 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0004081/0.4493, allocations: 94.2 kB / 1.011 GB, free: 4.176 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.4495, allocations: 36.5 kB / 1.012 GB, free: 4.137 MB / 0.9636 GB Notification: Performance of SimCode: time 9.31e-07/0.4495, allocations: 0 / 1.012 GB, free: 4.137 MB / 0.9636 GB Notification: Performance of Templates: time 0.04201/0.4915, allocations: 20.67 MB / 1.032 GB, free: 15.68 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.163981139077805]