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.001882/0.001882, allocations: 77.7 kB / 19.76 MB, free: 2.035 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.002278/0.002278, allocations: 158.9 kB / 23.01 MB, free: 4.941 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.438/1.438, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 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 2.919/2.919, allocations: 394.2 MB / 0.6387 GB, free: 11.9 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.002127/0.002127, allocations: 63.89 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7626/0.7647, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1808/0.9455, allocations: 144.3 MB / 1.328 GB, free: 5.547 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01121/0.9567, allocations: 7.483 MB / 1.335 GB, free: 14.04 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003573/0.957, allocations: 23.81 kB / 1.335 GB, free: 14.02 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009521/0.958, allocations: 325.9 kB / 1.335 GB, free: 13.7 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.9598, allocations: 0.758 MB / 1.336 GB, free: 12.93 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00486/0.9646, allocations: 2.162 MB / 1.338 GB, free: 10.78 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001634/0.9663, allocations: 1.38 MB / 1.339 GB, free: 9.395 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005709/0.9668, allocations: 358.2 kB / 1.34 GB, free: 9.039 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00338/0.9702, allocations: 1.482 MB / 1.341 GB, free: 7.551 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007156/0.9709, allocations: 446 kB / 1.342 GB, free: 7.113 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 9.726e-05/0.971, allocations: 52 kB / 1.342 GB, free: 7.062 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006792/0.9778, allocations: 3.496 MB / 1.345 GB, free: 3.562 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.978, allocations: 163.4 kB / 1.345 GB, free: 3.402 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003705/0.9784, allocations: 290.8 kB / 1.345 GB, free: 3.117 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003443/0.9819, allocations: 2.579 MB / 1.348 GB, free: 0.5312 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.9819, allocations: 0 / 1.348 GB, free: 0.5312 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9819, allocations: 0 / 1.348 GB, free: 0.5312 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.9819, allocations: 4 kB / 1.348 GB, free: 0.5273 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.001957/0.9838, allocations: 0.9601 MB / 1.349 GB, free: 15.54 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.9839, allocations: 12.03 kB / 1.349 GB, free: 15.52 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.985, allocations: 139.5 kB / 1.349 GB, free: 15.39 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007301/0.9858, allocations: 371.3 kB / 1.349 GB, free: 15 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.9e-05/0.9858, allocations: 49.31 kB / 1.349 GB, free: 14.95 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.502e-05/0.9859, allocations: 48 kB / 1.35 GB, free: 14.9 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.9873, allocations: 0.9866 MB / 1.351 GB, free: 13.78 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.9874, allocations: 0 / 1.351 GB, free: 13.78 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.233e-05/0.9874, allocations: 24 kB / 1.351 GB, free: 13.76 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.9874, allocations: 12 kB / 1.351 GB, free: 13.75 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.9885, allocations: 471.5 kB / 1.351 GB, free: 13.29 MB / 1.201 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.017/1.006, allocations: 5.521 MB / 1.356 GB, free: 7.684 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/1.006, allocations: 155.1 kB / 1.357 GB, free: 7.523 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/1.006, allocations: 113.3 kB / 1.357 GB, free: 7.41 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01308/1.019, allocations: 3.27 MB / 1.36 GB, free: 4.137 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/1.019, allocations: 42.8 kB / 1.36 GB, free: 4.086 MB / 1.201 GB Notification: Performance of pre-optimization done (n=27): time 1.943e-06/1.019, allocations: 0 / 1.36 GB, free: 4.086 MB / 1.201 GB Notification: Performance of matching and sorting (n=40): time 0.09577/1.115, allocations: 30.52 MB / 1.39 GB, free: 5.551 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/1.115, allocations: 136.5 kB / 1.39 GB, free: 5.387 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/1.116, allocations: 357.5 kB / 1.39 GB, free: 5.039 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/1.116, allocations: 37.7 kB / 1.39 GB, free: 4.996 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/1.116, allocations: 328.4 kB / 1.39 GB, free: 4.668 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/1.116, allocations: 150.8 kB / 1.391 GB, free: 4.52 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/1.116, allocations: 102.3 kB / 1.391 GB, free: 4.414 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001751/1.117, allocations: 350.7 kB / 1.391 GB, free: 4.062 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004712/1.117, allocations: 185.2 kB / 1.391 GB, free: 3.879 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006633/1.118, allocations: 435.2 kB / 1.392 GB, free: 3.367 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/1.119, allocations: 0.5246 MB / 1.392 GB, free: 2.785 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.119, allocations: 4 kB / 1.392 GB, free: 2.781 MB / 1.232 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001909/1.121, allocations: 0.6823 MB / 1.393 GB, free: 2.086 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/1.121, allocations: 8.031 kB / 1.393 GB, free: 2.078 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/1.121, allocations: 8 kB / 1.393 GB, free: 2.07 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005176/1.121, allocations: 117.6 kB / 1.393 GB, free: 1.949 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/1.122, allocations: 111.8 kB / 1.393 GB, free: 1.84 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/1.125, allocations: 3.162 MB / 1.396 GB, free: 14.48 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004705/1.126, allocations: 32.2 kB / 1.396 GB, free: 14.45 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/1.126, allocations: 20 kB / 1.396 GB, free: 14.43 MB / 1.248 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.0002605/1.126, allocations: 189.7 kB / 1.396 GB, free: 14.23 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/1.126, allocations: 43.77 kB / 1.396 GB, free: 14.19 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/1.128, allocations: 0.6417 MB / 1.397 GB, free: 13.52 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/1.128, allocations: 4 kB / 1.397 GB, free: 13.51 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/1.128, allocations: 0 / 1.397 GB, free: 13.51 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/1.128, allocations: 7.922 kB / 1.397 GB, free: 13.5 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/1.13, allocations: 1.041 MB / 1.398 GB, free: 12.38 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/1.13, allocations: 7.938 kB / 1.398 GB, free: 12.37 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/1.13, allocations: 59.91 kB / 1.398 GB, free: 12.31 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003147/1.131, allocations: 76.72 kB / 1.398 GB, free: 12.23 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/1.131, allocations: 12.38 kB / 1.398 GB, free: 12.22 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/1.133, allocations: 1.606 MB / 1.4 GB, free: 10.51 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/1.133, allocations: 11.88 kB / 1.4 GB, free: 10.5 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/1.134, allocations: 0.7135 MB / 1.401 GB, free: 9.719 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/1.134, allocations: 35.75 kB / 1.401 GB, free: 9.684 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.348e-05/1.134, allocations: 16 kB / 1.401 GB, free: 9.668 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/1.135, allocations: 19.98 kB / 1.401 GB, free: 9.648 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/1.135, allocations: 35.83 kB / 1.401 GB, free: 9.613 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/1.135, allocations: 23.98 kB / 1.401 GB, free: 9.59 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0003415/1.135, allocations: 267.2 kB / 1.401 GB, free: 9.332 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.2e-07/1.135, allocations: 0 / 1.401 GB, free: 9.332 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001696/1.137, allocations: 0.5579 MB / 1.401 GB, free: 8.773 MB / 1.248 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.001797/1.139, allocations: 0.5545 MB / 1.402 GB, free: 8.211 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001555/1.14, allocations: 0.6403 MB / 1.403 GB, free: 7.547 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.14, allocations: 4 kB / 1.403 GB, free: 7.543 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0005977/1.141, allocations: 274.4 kB / 1.403 GB, free: 7.262 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/1.142, allocations: 211.1 kB / 1.403 GB, free: 7.059 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/1.144, allocations: 1.124 MB / 1.404 GB, free: 5.855 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/1.144, allocations: 266.4 kB / 1.404 GB, free: 5.57 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0003557/1.145, allocations: 97.27 kB / 1.405 GB, free: 5.48 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/1.145, allocations: 48.48 kB / 1.405 GB, free: 5.434 MB / 1.248 GB Notification: Performance of SimCode: time 3.7e-07/1.145, allocations: 0 / 1.405 GB, free: 5.434 MB / 1.248 GB Notification: Performance of Templates: time 0.03359/1.178, allocations: 20.7 MB / 1.425 GB, free: 0.9805 MB / 1.264 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 800] 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/jenkins1/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: 9.738086470984854]