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.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.002347/0.002347, allocations: 88.16 kB / 19.44 MB, free: 192 kB / 13.93 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.003341/0.003341, allocations: 165.3 kB / 22.76 MB, free: 1.523 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.613/1.613, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.353/3.353, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.413e-06/1.413e-06, allocations: 0 / 0.8774 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.917e-05, allocations: 3.156 kB / 0.8774 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.2186/0.2186, allocations: 159.7 MB / 1.033 GB, free: 6.422 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01274/0.2314, allocations: 8.202 MB / 1.041 GB, free: 14.19 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006904/0.2321, allocations: 19.81 kB / 1.041 GB, free: 14.17 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.2332, allocations: 333.7 kB / 1.042 GB, free: 13.84 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.2353, allocations: 0.7768 MB / 1.042 GB, free: 13.06 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.005523/0.2408, allocations: 2.176 MB / 1.045 GB, free: 10.88 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002027/0.2429, allocations: 1.387 MB / 1.046 GB, free: 9.484 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006848/0.2436, allocations: 382.3 kB / 1.046 GB, free: 9.109 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00399/0.2475, allocations: 1.692 MB / 1.048 GB, free: 7.41 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007589/0.2483, allocations: 394.8 kB / 1.048 GB, free: 7.023 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.2484, allocations: 55.98 kB / 1.048 GB, free: 6.969 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007352/0.2558, allocations: 3.515 MB / 1.052 GB, free: 3.449 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003556/0.2561, allocations: 167.4 kB / 1.052 GB, free: 3.285 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006217/0.2567, allocations: 255.4 kB / 1.052 GB, free: 3.035 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.5281/0.7849, allocations: 3.146 MB / 1.055 GB, free: 55.45 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.7849, allocations: 0 / 1.055 GB, free: 55.45 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7849, allocations: 0 / 1.055 GB, free: 55.45 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.827e-05/0.7849, allocations: 0 / 1.055 GB, free: 55.45 MB / 1.01 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.002474/0.7874, allocations: 1.092 MB / 1.056 GB, free: 54.98 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.7875, allocations: 8.938 kB / 1.056 GB, free: 54.98 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.7886, allocations: 240.5 kB / 1.057 GB, free: 54.91 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005644/0.7892, allocations: 386.1 kB / 1.057 GB, free: 54.73 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.7892, allocations: 41.41 kB / 1.057 GB, free: 54.73 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.453e-05/0.7893, allocations: 61.08 kB / 1.057 GB, free: 54.73 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.7903, allocations: 1.058 MB / 1.058 GB, free: 54.05 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.7904, allocations: 3.469 kB / 1.058 GB, free: 54.05 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.559e-05/0.7904, allocations: 23.12 kB / 1.058 GB, free: 54.05 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.7904, allocations: 19.5 kB / 1.058 GB, free: 54.04 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007557/0.7912, allocations: 415.2 kB / 1.059 GB, free: 54.04 MB / 1.01 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.01473/0.8059, allocations: 6.264 MB / 1.065 GB, free: 52.11 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.8063, allocations: 146 kB / 1.065 GB, free: 52.08 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.8065, allocations: 107 kB / 1.065 GB, free: 52.07 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0109/0.8174, allocations: 3.291 MB / 1.068 GB, free: 51.88 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.8175, allocations: 51.03 kB / 1.068 GB, free: 51.83 MB / 1.01 GB Notification: Performance of pre-optimization done (n=27): time 1.974e-06/0.8175, allocations: 0 / 1.068 GB, free: 51.83 MB / 1.01 GB Notification: Performance of matching and sorting (n=40): time 0.07249/0.8899, allocations: 17 MB / 1.085 GB, free: 48.58 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.89, allocations: 135.8 kB / 1.085 GB, free: 48.43 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/0.8905, allocations: 459.3 kB / 1.085 GB, free: 48.25 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.8905, allocations: 33.48 kB / 1.085 GB, free: 48.21 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.8907, allocations: 387.3 kB / 1.086 GB, free: 47.96 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.8908, allocations: 158.9 kB / 1.086 GB, free: 47.86 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.891, allocations: 123.2 kB / 1.086 GB, free: 47.84 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.8911, allocations: 0.5443 MB / 1.087 GB, free: 47.34 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.8915, allocations: 166.1 kB / 1.087 GB, free: 47.34 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/0.892, allocations: 488.8 kB / 1.087 GB, free: 46.97 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008168/0.8928, allocations: 0.5617 MB / 1.088 GB, free: 46.72 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.8928, allocations: 1.031 kB / 1.088 GB, free: 46.72 MB / 1.01 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001654/0.8945, allocations: 0.6936 MB / 1.088 GB, free: 46.62 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.8945, allocations: 7.484 kB / 1.088 GB, free: 46.62 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.8945, allocations: 4.688 kB / 1.088 GB, free: 46.62 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005905/0.8951, allocations: 143.8 kB / 1.089 GB, free: 46.59 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.8955, allocations: 107.5 kB / 1.089 GB, free: 46.59 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/0.8983, allocations: 4.363 MB / 1.093 GB, free: 42.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/0.8988, allocations: 27.52 kB / 1.093 GB, free: 42.69 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/0.8988, allocations: 24.08 kB / 1.093 GB, free: 42.69 MB / 1.01 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.0002914/0.8991, allocations: 232.8 kB / 1.093 GB, free: 42.53 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/0.8994, allocations: 70.7 kB / 1.093 GB, free: 42.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.9007, allocations: 0.6553 MB / 1.094 GB, free: 42.35 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.9007, allocations: 4.594 kB / 1.094 GB, free: 42.35 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.9007, allocations: 0 / 1.094 GB, free: 42.35 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.9008, allocations: 3.312 kB / 1.094 GB, free: 42.35 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/0.903, allocations: 1.308 MB / 1.095 GB, free: 41.76 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.903, allocations: 9.25 kB / 1.095 GB, free: 41.76 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.9033, allocations: 63.31 kB / 1.095 GB, free: 41.76 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003787/0.9037, allocations: 89.88 kB / 1.095 GB, free: 41.75 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.9037, allocations: 17.17 kB / 1.095 GB, free: 41.74 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/0.9053, allocations: 2.208 MB / 1.098 GB, free: 39.78 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/0.9053, allocations: 11.47 kB / 1.098 GB, free: 39.78 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.9066, allocations: 0.8117 MB / 1.098 GB, free: 39.31 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.495e-05/0.9067, allocations: 48.59 kB / 1.098 GB, free: 39.29 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.622e-05/0.9068, allocations: 12.25 kB / 1.098 GB, free: 39.29 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.9071, allocations: 19.56 kB / 1.098 GB, free: 39.29 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.9072, allocations: 41.86 kB / 1.098 GB, free: 39.28 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.9072, allocations: 20.19 kB / 1.098 GB, free: 39.28 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003526/0.9076, allocations: 311.5 kB / 1.099 GB, free: 39.16 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.9076, allocations: 1.312 kB / 1.099 GB, free: 39.16 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00207/0.9097, allocations: 0.5233 MB / 1.099 GB, free: 39.12 MB / 1.01 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.002042/0.9117, allocations: 0.5369 MB / 1.1 GB, free: 38.98 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00161/0.9133, allocations: 0.771 MB / 1.101 GB, free: 38.62 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.9133, allocations: 2.062 kB / 1.101 GB, free: 38.62 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004889/0.9138, allocations: 349.8 kB / 1.101 GB, free: 38.43 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.9151, allocations: 228.9 kB / 1.101 GB, free: 38.41 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.917, allocations: 1.121 MB / 1.102 GB, free: 37.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.9173, allocations: 258.2 kB / 1.102 GB, free: 37.61 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004101/0.9177, allocations: 97.11 kB / 1.103 GB, free: 37.57 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.9179, allocations: 40.92 kB / 1.103 GB, free: 37.56 MB / 1.01 GB Notification: Performance of SimCode: time 1.523e-06/0.9179, allocations: 0 / 1.103 GB, free: 37.56 MB / 1.01 GB Notification: Performance of Templates: time 0.05312/0.971, allocations: 20.67 MB / 1.123 GB, free: 36.11 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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.213251983048394]