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.001735/0.001735, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.002062/0.002062, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.544/1.544, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.003/3.003, allocations: 0.5003 GB / 0.8026 GB, free: 6.727 MB / 0.6387 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: "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_latest_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.002165/0.002165, allocations: 63.91 kB / 1.165 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8539/0.8561, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1934/1.049, allocations: 166.7 MB / 1.503 GB, free: 1.582 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0126/1.062, allocations: 8.176 MB / 1.511 GB, free: 9.387 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009278/1.063, allocations: 23.81 kB / 1.511 GB, free: 9.363 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/1.064, allocations: 361.8 kB / 1.511 GB, free: 9.008 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002436/1.067, allocations: 0.7447 MB / 1.512 GB, free: 8.262 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.006034/1.073, allocations: 2.15 MB / 1.514 GB, free: 6.117 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002231/1.075, allocations: 1.368 MB / 1.515 GB, free: 4.742 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008301/1.076, allocations: 377.5 kB / 1.516 GB, free: 4.367 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00408/1.08, allocations: 1.478 MB / 1.517 GB, free: 2.883 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009481/1.081, allocations: 458.1 kB / 1.518 GB, free: 2.434 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001679/1.081, allocations: 52 kB / 1.518 GB, free: 2.383 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006813/1.088, allocations: 3.64 MB / 1.521 GB, free: 14.74 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002649/1.088, allocations: 155.4 kB / 1.521 GB, free: 14.59 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005129/1.089, allocations: 342.5 kB / 1.522 GB, free: 14.25 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004378/1.093, allocations: 2.571 MB / 1.524 GB, free: 11.67 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.093, allocations: 3.938 kB / 1.524 GB, free: 11.67 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.723e-06/1.093, allocations: 4 kB / 1.524 GB, free: 11.66 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.809e-05/1.093, allocations: 0 / 1.524 GB, free: 11.66 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.002324/1.095, allocations: 1.039 MB / 1.525 GB, free: 10.57 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/1.095, allocations: 8.031 kB / 1.525 GB, free: 10.57 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.115e-05/1.095, allocations: 25.25 kB / 1.525 GB, free: 10.54 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/1.095, allocations: 94.52 kB / 1.525 GB, free: 10.44 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/1.097, allocations: 139.5 kB / 1.526 GB, free: 10.3 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007505/1.097, allocations: 437.8 kB / 1.526 GB, free: 9.836 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/1.097, allocations: 37.31 kB / 1.526 GB, free: 9.801 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.814e-05/1.098, allocations: 52 kB / 1.526 GB, free: 9.75 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/1.099, allocations: 0.6526 MB / 1.527 GB, free: 9.051 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/1.099, allocations: 3.938 kB / 1.527 GB, free: 9.047 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-05/1.099, allocations: 24 kB / 1.527 GB, free: 9.023 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/1.099, allocations: 16 kB / 1.527 GB, free: 9.008 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/1.1, allocations: 471.5 kB / 1.527 GB, free: 8.547 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.01719/1.117, allocations: 6.496 MB / 1.533 GB, free: 1.773 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/1.118, allocations: 151.2 kB / 1.534 GB, free: 1.617 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003077/1.118, allocations: 121.2 kB / 1.534 GB, free: 1.496 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01239/1.13, allocations: 3.857 MB / 1.538 GB, free: 13.49 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/1.13, allocations: 42.73 kB / 1.538 GB, free: 13.44 MB / 1.217 GB Notification: Performance of pre-optimization done (n=27): time 1.883e-06/1.13, allocations: 0 / 1.538 GB, free: 13.44 MB / 1.217 GB Notification: Performance of matching and sorting (n=40): time 0.08789/1.218, allocations: 30.61 MB / 1.567 GB, free: 14.79 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/1.218, allocations: 144.3 kB / 1.568 GB, free: 14.62 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006058/1.219, allocations: 461.8 kB / 1.568 GB, free: 14.16 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.19e-05/1.219, allocations: 33.7 kB / 1.568 GB, free: 14.12 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/1.219, allocations: 320.1 kB / 1.568 GB, free: 13.8 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/1.219, allocations: 146.8 kB / 1.568 GB, free: 13.66 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/1.22, allocations: 102.2 kB / 1.569 GB, free: 13.55 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.22, allocations: 354.8 kB / 1.569 GB, free: 13.2 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004457/1.22, allocations: 185 kB / 1.569 GB, free: 13.02 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005851/1.221, allocations: 349.2 kB / 1.569 GB, free: 12.61 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/1.222, allocations: 0.5263 MB / 1.57 GB, free: 12.02 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/1.222, allocations: 4 kB / 1.57 GB, free: 12.02 MB / 1.248 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001924/1.224, allocations: 0.6955 MB / 1.571 GB, free: 11.31 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/1.224, allocations: 4 kB / 1.571 GB, free: 11.31 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.224, allocations: 4 kB / 1.571 GB, free: 11.3 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005668/1.224, allocations: 133.8 kB / 1.571 GB, free: 11.17 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/1.225, allocations: 107.9 kB / 1.571 GB, free: 11.06 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003534/1.228, allocations: 3.414 MB / 1.574 GB, free: 7.375 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006777/1.229, allocations: 36.12 kB / 1.574 GB, free: 7.34 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.694e-05/1.229, allocations: 20 kB / 1.574 GB, free: 7.32 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.0003621/1.229, allocations: 195.7 kB / 1.574 GB, free: 7.121 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002614/1.23, allocations: 55.67 kB / 1.574 GB, free: 7.066 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/1.231, allocations: 0.6455 MB / 1.575 GB, free: 6.391 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.231, allocations: 4 kB / 1.575 GB, free: 6.387 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.231, allocations: 8 kB / 1.575 GB, free: 6.379 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/1.231, allocations: 7.922 kB / 1.575 GB, free: 6.371 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/1.233, allocations: 1.191 MB / 1.576 GB, free: 5.07 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/1.234, allocations: 4 kB / 1.576 GB, free: 5.066 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/1.234, allocations: 71.89 kB / 1.576 GB, free: 4.996 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002857/1.234, allocations: 69.31 kB / 1.576 GB, free: 4.926 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/1.234, allocations: 8.062 kB / 1.576 GB, free: 4.918 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/1.236, allocations: 1.748 MB / 1.578 GB, free: 3.031 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/1.236, allocations: 4 kB / 1.578 GB, free: 3.027 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/1.238, allocations: 0.721 MB / 1.579 GB, free: 2.238 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/1.238, allocations: 128.8 kB / 1.579 GB, free: 2.094 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.655e-05/1.238, allocations: 15.98 kB / 1.579 GB, free: 2.078 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/1.238, allocations: 23.98 kB / 1.579 GB, free: 2.055 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-05/1.238, allocations: 35.84 kB / 1.579 GB, free: 2.02 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/1.239, allocations: 20.06 kB / 1.579 GB, free: 2 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0004923/1.239, allocations: 358.8 kB / 1.579 GB, free: 1.648 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/1.239, allocations: 0 / 1.579 GB, free: 1.648 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001831/1.241, allocations: 0.5695 MB / 1.58 GB, free: 1.078 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.004/1.245, allocations: 1.709 MB / 1.582 GB, free: 15.29 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00165/1.246, allocations: 0.6423 MB / 1.582 GB, free: 14.62 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.246, allocations: 8 kB / 1.582 GB, free: 14.62 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0005958/1.247, allocations: 282.3 kB / 1.583 GB, free: 14.33 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/1.249, allocations: 302.3 kB / 1.583 GB, free: 14.04 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009518/1.258, allocations: 5.354 MB / 1.588 GB, free: 8.379 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/1.259, allocations: 0.8667 MB / 1.589 GB, free: 7.484 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0004793/1.259, allocations: 110.2 kB / 1.589 GB, free: 7.379 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/1.26, allocations: 191.4 kB / 1.589 GB, free: 7.195 MB / 1.264 GB Notification: Performance of SimCode: time 9.62e-07/1.26, allocations: 0 / 1.589 GB, free: 7.195 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06686/1.326, allocations: 28.79 MB / 1.617 GB, free: 10.83 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.42, allocations: 15.5 kB / 1.617 GB, free: 10.82 MB / 1.295 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 840.0] 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: 21.046566403005272]