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.002365/0.002365, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002903/0.002903, 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.619/1.619, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.178/3.178, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8108 GB, free: 1.957 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.17e-05/3.333e-05, allocations: 5.906 kB / 0.8108 GB, free: 1.953 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.241/0.241, allocations: 159.7 MB / 0.9668 GB, free: 1.762 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0141/0.2551, allocations: 8.199 MB / 0.9748 GB, free: 9.531 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008507/0.256, allocations: 23.81 kB / 0.9748 GB, free: 9.508 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.2572, allocations: 341.7 kB / 0.9751 GB, free: 9.172 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.2597, allocations: 0.7808 MB / 0.9759 GB, free: 8.387 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.006259/0.266, allocations: 2.18 MB / 0.978 GB, free: 6.199 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002494/0.2685, allocations: 1.395 MB / 0.9794 GB, free: 4.801 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007576/0.2692, allocations: 370.4 kB / 0.9797 GB, free: 4.438 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004212/0.2734, allocations: 1.689 MB / 0.9814 GB, free: 2.742 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007738/0.2742, allocations: 398.8 kB / 0.9817 GB, free: 2.352 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.2743, allocations: 55.94 kB / 0.9818 GB, free: 2.297 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008025/0.2823, allocations: 3.507 MB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003561/0.2827, allocations: 171.3 kB / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000662/0.2834, allocations: 259.4 kB / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.006978/0.2903, allocations: 3.145 MB / 0.9887 GB, free: 11.21 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2904, allocations: 0 / 0.9887 GB, free: 11.21 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2904, allocations: 0 / 0.9887 GB, free: 11.21 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.2904, allocations: 0 / 0.9887 GB, free: 11.21 MB / 0.948 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.002718/0.2931, allocations: 1.103 MB / 0.9898 GB, free: 10.07 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.2931, allocations: 8.031 kB / 0.9898 GB, free: 10.06 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/0.2944, allocations: 238.9 kB / 0.99 GB, free: 9.828 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007483/0.2952, allocations: 382.1 kB / 0.9904 GB, free: 9.43 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.934e-05/0.2952, allocations: 45.31 kB / 0.9904 GB, free: 9.387 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.2954, allocations: 59.95 kB / 0.9905 GB, free: 9.328 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.2969, allocations: 1.052 MB / 0.9915 GB, free: 8.117 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.2969, allocations: 7.938 kB / 0.9915 GB, free: 8.109 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.765e-05/0.297, allocations: 28 kB / 0.9915 GB, free: 8.082 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.297, allocations: 15.94 kB / 0.9916 GB, free: 8.066 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.2981, allocations: 407.6 kB / 0.992 GB, free: 7.668 MB / 0.948 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.01768/0.3158, allocations: 6.269 MB / 0.9981 GB, free: 1.301 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.3162, allocations: 151.7 kB / 0.9982 GB, free: 1.141 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.3165, allocations: 104 kB / 0.9983 GB, free: 1.035 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01291/0.3294, allocations: 3.297 MB / 1.002 GB, free: 13.73 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.9e-05/0.3295, allocations: 49.55 kB / 1.002 GB, free: 13.68 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=27): time 2.334e-06/0.3295, allocations: 0 / 1.002 GB, free: 13.68 MB / 0.9636 GB Notification: Performance of matching and sorting (n=40): time 0.08119/0.4107, allocations: 16.98 MB / 1.018 GB, free: 12.67 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.4108, allocations: 140.5 kB / 1.018 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006265/0.4114, allocations: 462.5 kB / 1.019 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.4115, allocations: 33.7 kB / 1.019 GB, free: 12 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/0.4118, allocations: 391.2 kB / 1.019 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.412, allocations: 162.7 kB / 1.019 GB, free: 11.45 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.4122, allocations: 115.9 kB / 1.019 GB, free: 11.32 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003516/0.4126, allocations: 0.5508 MB / 1.02 GB, free: 10.76 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006191/0.4132, allocations: 161.2 kB / 1.02 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007276/0.4139, allocations: 496.3 kB / 1.021 GB, free: 10 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.4149, allocations: 0.5565 MB / 1.021 GB, free: 9.363 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.4149, allocations: 4 kB / 1.021 GB, free: 9.359 MB / 0.9792 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001848/0.4168, allocations: 0.6896 MB / 1.022 GB, free: 8.656 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.4168, allocations: 4 kB / 1.022 GB, free: 8.652 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.4168, allocations: 12.52 kB / 1.022 GB, free: 8.641 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006436/0.4175, allocations: 143.3 kB / 1.022 GB, free: 8.492 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004782/0.4179, allocations: 107.8 kB / 1.022 GB, free: 8.387 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004568/0.4225, allocations: 4.365 MB / 1.026 GB, free: 3.781 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.423, allocations: 23.92 kB / 1.026 GB, free: 3.758 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.423, allocations: 24 kB / 1.026 GB, free: 3.734 MB / 0.9792 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.0003442/0.4234, allocations: 232.4 kB / 1.027 GB, free: 3.496 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/0.4236, allocations: 67.59 kB / 1.027 GB, free: 3.43 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.4255, allocations: 0.666 MB / 1.027 GB, free: 2.734 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4255, allocations: 0 / 1.027 GB, free: 2.734 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4255, allocations: 4 kB / 1.027 GB, free: 2.73 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.4255, allocations: 0 / 1.027 GB, free: 2.73 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002572/0.428, allocations: 1.31 MB / 1.029 GB, free: 1.285 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.428, allocations: 8.125 kB / 1.029 GB, free: 1.277 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.4283, allocations: 67.83 kB / 1.029 GB, free: 1.211 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003721/0.4287, allocations: 87.62 kB / 1.029 GB, free: 1.121 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.4287, allocations: 15.94 kB / 1.029 GB, free: 1.105 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002385/0.4311, allocations: 2.212 MB / 1.031 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.4311, allocations: 7.938 kB / 1.031 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.4327, allocations: 0.8138 MB / 1.032 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.135e-05/0.4328, allocations: 43.7 kB / 1.032 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.305e-05/0.4329, allocations: 15.98 kB / 1.032 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.4332, allocations: 16 kB / 1.032 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.4333, allocations: 47.81 kB / 1.032 GB, free: 13.72 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.4334, allocations: 20 kB / 1.032 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004109/0.4338, allocations: 311.1 kB / 1.032 GB, free: 13.4 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.4338, allocations: 4 kB / 1.032 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001907/0.4357, allocations: 0.519 MB / 1.033 GB, free: 12.88 MB / 0.9948 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.001896/0.4376, allocations: 0.5432 MB / 1.033 GB, free: 12.33 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001934/0.4395, allocations: 0.7628 MB / 1.034 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.4395, allocations: 4 kB / 1.034 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006041/0.4401, allocations: 345.2 kB / 1.034 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.4414, allocations: 224.7 kB / 1.034 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.4435, allocations: 1.117 MB / 1.036 GB, free: 9.719 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.4439, allocations: 262.5 kB / 1.036 GB, free: 9.434 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.000369/0.4442, allocations: 89.95 kB / 1.036 GB, free: 9.348 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.4443, allocations: 40.5 kB / 1.036 GB, free: 9.309 MB / 0.9948 GB Notification: Performance of SimCode: time 8.41e-07/0.4443, allocations: 0 / 1.036 GB, free: 9.309 MB / 0.9948 GB Notification: Performance of Templates: time 0.03866/0.483, allocations: 20.69 MB / 1.056 GB, free: 4.832 MB / 1.01 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 240] 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.006325409049168]