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.001681/0.001681, allocations: 116.1 kB / 17.17 MB, free: 6 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.002205/0.002205, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.47/1.47, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.828/2.828, allocations: 0.49 GB / 0.7923 GB, free: 1.332 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="cs",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.002116/0.002116, allocations: 75.89 kB / 1.15 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8908/0.8929, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.199/1.092, allocations: 166.7 MB / 1.484 GB, free: 14.23 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01232/1.104, allocations: 8.178 MB / 1.492 GB, free: 7.746 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007686/1.105, allocations: 18.81 kB / 1.492 GB, free: 7.738 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001214/1.106, allocations: 364.6 kB / 1.493 GB, free: 7.441 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00231/1.109, allocations: 0.7421 MB / 1.493 GB, free: 6.859 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006263/1.115, allocations: 2.156 MB / 1.495 GB, free: 5.297 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002183/1.117, allocations: 1.365 MB / 1.497 GB, free: 4.512 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008291/1.118, allocations: 386 kB / 1.497 GB, free: 4.242 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003878/1.122, allocations: 1.464 MB / 1.499 GB, free: 3.293 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/1.123, allocations: 460.4 kB / 1.499 GB, free: 3.023 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/1.123, allocations: 52.12 kB / 1.499 GB, free: 3.023 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008045/1.131, allocations: 3.643 MB / 1.503 GB, free: 15.91 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003368/1.131, allocations: 163.4 kB / 1.503 GB, free: 15.75 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006834/1.132, allocations: 342.5 kB / 1.503 GB, free: 15.41 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005601/1.138, allocations: 2.568 MB / 1.506 GB, free: 12.84 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.138, allocations: 0 / 1.506 GB, free: 12.84 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.352e-06/1.138, allocations: 0 / 1.506 GB, free: 12.84 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.537e-05/1.138, allocations: 4 kB / 1.506 GB, free: 12.84 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.002484/1.14, allocations: 1.043 MB / 1.507 GB, free: 11.74 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/1.14, allocations: 15.98 kB / 1.507 GB, free: 11.73 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.77e-05/1.14, allocations: 13.31 kB / 1.507 GB, free: 11.71 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/1.14, allocations: 94.52 kB / 1.507 GB, free: 11.61 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/1.142, allocations: 139.5 kB / 1.507 GB, free: 11.47 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008538/1.142, allocations: 429.9 kB / 1.507 GB, free: 11.02 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/1.142, allocations: 37.31 kB / 1.507 GB, free: 10.98 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/1.142, allocations: 55.95 kB / 1.507 GB, free: 10.93 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/1.144, allocations: 0.6642 MB / 1.508 GB, free: 10.21 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/1.144, allocations: 0 / 1.508 GB, free: 10.21 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/1.144, allocations: 24 kB / 1.508 GB, free: 10.19 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/1.144, allocations: 12 kB / 1.508 GB, free: 10.18 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/1.145, allocations: 471.5 kB / 1.508 GB, free: 9.719 MB / 1.186 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.01685/1.162, allocations: 6.495 MB / 1.515 GB, free: 2.945 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/1.162, allocations: 155.1 kB / 1.515 GB, free: 2.785 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/1.163, allocations: 121.2 kB / 1.515 GB, free: 2.664 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01213/1.175, allocations: 3.861 MB / 1.519 GB, free: 14.65 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/1.175, allocations: 34.8 kB / 1.519 GB, free: 14.61 MB / 1.201 GB Notification: Performance of pre-optimization done (n=27): time 2.264e-06/1.175, allocations: 0 / 1.519 GB, free: 14.61 MB / 1.201 GB Notification: Performance of matching and sorting (n=40): time 0.08677/1.262, allocations: 30.61 MB / 1.549 GB, free: 15.96 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/1.262, allocations: 144.3 kB / 1.549 GB, free: 15.8 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005848/1.262, allocations: 453.8 kB / 1.549 GB, free: 15.34 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.179e-05/1.262, allocations: 37.7 kB / 1.549 GB, free: 15.3 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/1.262, allocations: 316.1 kB / 1.55 GB, free: 14.99 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/1.263, allocations: 150.8 kB / 1.55 GB, free: 14.84 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/1.263, allocations: 106.2 kB / 1.55 GB, free: 14.73 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.263, allocations: 362.7 kB / 1.55 GB, free: 14.37 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004377/1.263, allocations: 181 kB / 1.55 GB, free: 14.19 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005823/1.264, allocations: 349.2 kB / 1.551 GB, free: 13.78 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009863/1.265, allocations: 0.5269 MB / 1.551 GB, free: 13.19 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.265, allocations: 0 / 1.551 GB, free: 13.19 MB / 1.232 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001841/1.267, allocations: 0.6939 MB / 1.552 GB, free: 12.48 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/1.267, allocations: 12.06 kB / 1.552 GB, free: 12.47 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.267, allocations: 4 kB / 1.552 GB, free: 12.47 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005193/1.267, allocations: 117.6 kB / 1.552 GB, free: 12.35 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/1.268, allocations: 111.8 kB / 1.552 GB, free: 12.24 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003504/1.271, allocations: 3.413 MB / 1.556 GB, free: 8.547 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005355/1.272, allocations: 27.97 kB / 1.556 GB, free: 8.52 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/1.272, allocations: 24 kB / 1.556 GB, free: 8.496 MB / 1.232 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.0002786/1.272, allocations: 197.7 kB / 1.556 GB, free: 8.293 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/1.272, allocations: 55.67 kB / 1.556 GB, free: 8.238 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/1.274, allocations: 0.6443 MB / 1.556 GB, free: 7.559 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.274, allocations: 7.938 kB / 1.556 GB, free: 7.551 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/1.274, allocations: 0 / 1.556 GB, free: 7.551 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/1.274, allocations: 3.984 kB / 1.556 GB, free: 7.547 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/1.276, allocations: 1.195 MB / 1.558 GB, free: 6.246 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/1.276, allocations: 8.062 kB / 1.558 GB, free: 6.238 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/1.277, allocations: 63.89 kB / 1.558 GB, free: 6.176 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002736/1.277, allocations: 68.75 kB / 1.558 GB, free: 6.105 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/1.277, allocations: 12 kB / 1.558 GB, free: 6.094 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/1.279, allocations: 1.744 MB / 1.559 GB, free: 4.211 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.279, allocations: 4 kB / 1.559 GB, free: 4.207 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/1.28, allocations: 0.7254 MB / 1.56 GB, free: 3.414 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/1.28, allocations: 128.8 kB / 1.56 GB, free: 3.27 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.096e-05/1.281, allocations: 15.98 kB / 1.56 GB, free: 3.254 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/1.281, allocations: 15.98 kB / 1.56 GB, free: 3.238 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-05/1.281, allocations: 47.84 kB / 1.56 GB, free: 3.191 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/1.281, allocations: 12 kB / 1.56 GB, free: 3.18 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004546/1.281, allocations: 362.8 kB / 1.561 GB, free: 2.824 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/1.281, allocations: 0 / 1.561 GB, free: 2.824 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001683/1.283, allocations: 0.5695 MB / 1.561 GB, free: 2.254 MB / 1.232 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.003753/1.287, allocations: 1.717 MB / 1.563 GB, free: 472 kB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00159/1.289, allocations: 0.6481 MB / 1.564 GB, free: 15.79 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.289, allocations: 0 / 1.564 GB, free: 15.79 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0005682/1.289, allocations: 283.3 kB / 1.564 GB, free: 15.5 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/1.291, allocations: 317.9 kB / 1.564 GB, free: 15.2 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008955/1.3, allocations: 5.337 MB / 1.569 GB, free: 9.547 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/1.3, allocations: 0.8668 MB / 1.57 GB, free: 8.652 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0004435/1.301, allocations: 115.2 kB / 1.57 GB, free: 8.551 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/1.301, allocations: 191.4 kB / 1.571 GB, free: 8.363 MB / 1.248 GB Notification: Performance of SimCode: time 7.21e-07/1.301, allocations: 0 / 1.571 GB, free: 8.363 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06353/1.364, allocations: 28.78 MB / 1.599 GB, free: 11.98 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/14.51, allocations: 17.08 kB / 1.599 GB, free: 11.96 MB / 1.279 GB " [Timeout remaining time 285] (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: 20.953275457024574]