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.001851/0.001851, allocations: 108 kB / 16.45 MB, free: 6.453 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.002383/0.002383, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.436/1.436, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.111/3.111, allocations: 0.49 GB / 0.7916 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) [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.001987/0.001987, allocations: 70.84 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3205, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1961/0.5166, allocations: 166.7 MB / 1.484 GB, free: 12.05 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01139/0.528, allocations: 8.175 MB / 1.492 GB, free: 3.844 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006296/0.5287, allocations: 27.81 kB / 1.492 GB, free: 3.816 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.5298, allocations: 357.8 kB / 1.492 GB, free: 3.465 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.5318, allocations: 0.7424 MB / 1.493 GB, free: 2.719 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005297/0.5371, allocations: 2.145 MB / 1.495 GB, free: 0.5781 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001814/0.539, allocations: 1.372 MB / 1.496 GB, free: 15.2 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006003/0.5396, allocations: 377.2 kB / 1.496 GB, free: 14.83 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003565/0.5431, allocations: 1.471 MB / 1.498 GB, free: 13.35 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008805/0.544, allocations: 470.1 kB / 1.498 GB, free: 12.89 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 9.764e-05/0.5441, allocations: 52 kB / 1.498 GB, free: 12.84 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007164/0.5513, allocations: 3.632 MB / 1.502 GB, free: 9.203 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.5515, allocations: 155.4 kB / 1.502 GB, free: 9.051 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005786/0.5521, allocations: 346.5 kB / 1.502 GB, free: 8.711 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004849/0.557, allocations: 2.579 MB / 1.505 GB, free: 6.125 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.557, allocations: 0 / 1.505 GB, free: 6.125 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.583e-06/0.557, allocations: 0 / 1.505 GB, free: 6.125 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.557, allocations: 0 / 1.505 GB, free: 6.125 MB / 1.201 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.002345/0.5593, allocations: 1.049 MB / 1.506 GB, free: 5.027 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.5594, allocations: 15.98 kB / 1.506 GB, free: 5.012 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.5595, allocations: 94.52 kB / 1.506 GB, free: 4.91 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.5607, allocations: 143.4 kB / 1.506 GB, free: 4.77 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007007/0.5614, allocations: 429.9 kB / 1.507 GB, free: 4.309 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.5614, allocations: 37.31 kB / 1.507 GB, free: 4.27 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.463e-05/0.5615, allocations: 55.95 kB / 1.507 GB, free: 4.215 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.5628, allocations: 0.6525 MB / 1.507 GB, free: 3.516 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.5628, allocations: 3.938 kB / 1.507 GB, free: 3.512 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.745e-05/0.5628, allocations: 28 kB / 1.507 GB, free: 3.484 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.5629, allocations: 16 kB / 1.507 GB, free: 3.469 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.5639, allocations: 471.5 kB / 1.508 GB, free: 3.008 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.01676/0.5807, allocations: 6.487 MB / 1.514 GB, free: 12.24 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/0.5811, allocations: 155.2 kB / 1.514 GB, free: 12.08 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.5814, allocations: 113.3 kB / 1.514 GB, free: 11.97 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01243/0.5938, allocations: 3.853 MB / 1.518 GB, free: 7.965 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/0.5939, allocations: 42.8 kB / 1.518 GB, free: 7.914 MB / 1.217 GB Notification: Performance of pre-optimization done (n=27): time 2.234e-06/0.5939, allocations: 3.938 kB / 1.518 GB, free: 7.91 MB / 1.217 GB Notification: Performance of matching and sorting (n=40): time 0.0896/0.6835, allocations: 30.62 MB / 1.548 GB, free: 9.258 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.704e-05/0.6836, allocations: 144.4 kB / 1.548 GB, free: 9.086 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006112/0.6842, allocations: 461.8 kB / 1.549 GB, free: 8.629 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/0.6843, allocations: 33.7 kB / 1.549 GB, free: 8.59 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.6845, allocations: 316.1 kB / 1.549 GB, free: 8.273 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.6846, allocations: 142.8 kB / 1.549 GB, free: 8.133 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.6848, allocations: 102.2 kB / 1.549 GB, free: 8.027 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.685, allocations: 358.8 kB / 1.55 GB, free: 7.668 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/0.6854, allocations: 185 kB / 1.55 GB, free: 7.484 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005915/0.686, allocations: 349.2 kB / 1.55 GB, free: 7.078 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009866/0.687, allocations: 0.5211 MB / 1.551 GB, free: 6.5 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.687, allocations: 7.938 kB / 1.551 GB, free: 6.492 MB / 1.248 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001943/0.6889, allocations: 0.6897 MB / 1.551 GB, free: 5.789 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.689, allocations: 8 kB / 1.551 GB, free: 5.781 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.689, allocations: 4 kB / 1.551 GB, free: 5.777 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005778/0.6896, allocations: 126 kB / 1.551 GB, free: 5.648 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.6901, allocations: 119.8 kB / 1.552 GB, free: 5.535 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00384/0.6939, allocations: 3.41 MB / 1.555 GB, free: 1.844 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/0.6945, allocations: 27.98 kB / 1.555 GB, free: 1.816 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.6945, allocations: 24 kB / 1.555 GB, free: 1.793 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.0003138/0.6949, allocations: 191.7 kB / 1.555 GB, free: 1.598 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.6951, allocations: 63.59 kB / 1.555 GB, free: 1.535 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.6966, allocations: 0.6401 MB / 1.556 GB, free: 0.8633 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.6966, allocations: 8 kB / 1.556 GB, free: 0.8555 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.6966, allocations: 3.938 kB / 1.556 GB, free: 0.8516 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.6966, allocations: 128 / 1.556 GB, free: 0.8516 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/0.6988, allocations: 1.203 MB / 1.557 GB, free: 15.54 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.6989, allocations: 4 kB / 1.557 GB, free: 15.54 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.6992, allocations: 71.89 kB / 1.557 GB, free: 15.46 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002779/0.6995, allocations: 73.3 kB / 1.557 GB, free: 15.39 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.6995, allocations: 8 kB / 1.557 GB, free: 15.38 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.7014, allocations: 1.74 MB / 1.559 GB, free: 13.51 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.7014, allocations: 4 kB / 1.559 GB, free: 13.5 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.703, allocations: 0.7254 MB / 1.56 GB, free: 12.71 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.7031, allocations: 128.8 kB / 1.56 GB, free: 12.57 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.369e-05/0.7032, allocations: 16 kB / 1.56 GB, free: 12.55 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003877/0.7036, allocations: 19.98 kB / 1.56 GB, free: 12.53 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.981e-05/0.7037, allocations: 35.91 kB / 1.56 GB, free: 12.5 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.7037, allocations: 23.98 kB / 1.56 GB, free: 12.47 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0004749/0.7042, allocations: 354.8 kB / 1.56 GB, free: 12.12 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.7042, allocations: 0 / 1.56 GB, free: 12.12 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001867/0.706, allocations: 0.5656 MB / 1.561 GB, free: 11.56 MB / 1.264 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.004026/0.7101, allocations: 1.721 MB / 1.562 GB, free: 9.758 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.7117, allocations: 0.6463 MB / 1.563 GB, free: 9.086 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.7117, allocations: 0 / 1.563 GB, free: 9.086 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0005867/0.7123, allocations: 274.4 kB / 1.563 GB, free: 8.805 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.714, allocations: 311.5 kB / 1.563 GB, free: 8.508 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009333/0.7233, allocations: 5.367 MB / 1.569 GB, free: 2.832 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.7239, allocations: 0.8668 MB / 1.57 GB, free: 1.938 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.000518/0.7244, allocations: 106 kB / 1.57 GB, free: 1.844 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.7247, allocations: 191.4 kB / 1.57 GB, free: 1.656 MB / 1.264 GB Notification: Performance of SimCode: time 9.62e-07/0.7247, allocations: 4 kB / 1.57 GB, free: 1.652 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0736/0.7983, allocations: 28.74 MB / 1.598 GB, free: 5.305 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.8, allocations: 0 / 1.598 GB, free: 5.305 MB / 1.295 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 420.0] 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: 21.020116134081036]