Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001589/0.001589, 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.001852/0.001852, 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.561/1.561, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.768/2.768, allocations: 476.7 MB / 0.7678 GB, free: 9.473 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_11_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.002138/0.002138, allocations: 63.91 kB / 1.113 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8773/0.8795, allocations: 169.9 MB / 1.279 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.2066/1.086, allocations: 166.7 MB / 1.442 GB, free: 5.289 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01164/1.098, allocations: 8.181 MB / 1.45 GB, free: 13.08 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007287/1.098, allocations: 19.81 kB / 1.45 GB, free: 13.06 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/1.1, allocations: 357.8 kB / 1.45 GB, free: 12.71 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002156/1.102, allocations: 0.7463 MB / 1.451 GB, free: 11.96 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005618/1.107, allocations: 2.156 MB / 1.453 GB, free: 9.809 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0033/1.111, allocations: 1.368 MB / 1.454 GB, free: 8.438 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/1.112, allocations: 385.5 kB / 1.455 GB, free: 8.055 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005603/1.117, allocations: 1.467 MB / 1.456 GB, free: 6.582 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/1.119, allocations: 458.2 kB / 1.456 GB, free: 6.133 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002499/1.119, allocations: 55.94 kB / 1.456 GB, free: 6.078 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01178/1.131, allocations: 3.644 MB / 1.46 GB, free: 2.43 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004143/1.131, allocations: 151.5 kB / 1.46 GB, free: 2.281 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0008308/1.132, allocations: 342.5 kB / 1.461 GB, free: 1.945 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.006322/1.138, allocations: 2.575 MB / 1.463 GB, free: 15.36 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.138, allocations: 0 / 1.463 GB, free: 15.36 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.613e-06/1.138, allocations: 8 kB / 1.463 GB, free: 15.36 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.435e-05/1.138, allocations: 0 / 1.463 GB, free: 15.36 MB / 1.154 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.003267/1.142, allocations: 1.045 MB / 1.464 GB, free: 14.26 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/1.142, allocations: 8.031 kB / 1.464 GB, free: 14.25 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.925e-05/1.142, allocations: 17.31 kB / 1.464 GB, free: 14.23 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/1.142, allocations: 98.52 kB / 1.464 GB, free: 14.13 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/1.144, allocations: 135.5 kB / 1.464 GB, free: 14 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/1.145, allocations: 441.7 kB / 1.465 GB, free: 13.53 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/1.145, allocations: 37.31 kB / 1.465 GB, free: 13.49 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/1.145, allocations: 48 kB / 1.465 GB, free: 13.45 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/1.147, allocations: 0.6565 MB / 1.465 GB, free: 12.74 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/1.147, allocations: 7.891 kB / 1.465 GB, free: 12.73 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-05/1.147, allocations: 24 kB / 1.465 GB, free: 12.71 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/1.147, allocations: 16 kB / 1.466 GB, free: 12.69 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/1.149, allocations: 463.6 kB / 1.466 GB, free: 12.24 MB / 1.154 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.01739/1.166, allocations: 6.491 MB / 1.472 GB, free: 5.469 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005213/1.166, allocations: 164.1 kB / 1.472 GB, free: 5.301 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/1.167, allocations: 113.3 kB / 1.473 GB, free: 5.188 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01261/1.179, allocations: 3.853 MB / 1.476 GB, free: 1.184 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/1.179, allocations: 42.8 kB / 1.476 GB, free: 1.133 MB / 1.154 GB Notification: Performance of pre-optimization done (n=27): time 2.955e-06/1.179, allocations: 0 / 1.476 GB, free: 1.133 MB / 1.154 GB Notification: Performance of matching and sorting (n=40): time 0.08956/1.269, allocations: 30.62 MB / 1.506 GB, free: 2.48 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.018e-05/1.269, allocations: 140.4 kB / 1.506 GB, free: 2.312 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005903/1.27, allocations: 461.8 kB / 1.507 GB, free: 1.859 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/1.27, allocations: 33.7 kB / 1.507 GB, free: 1.82 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/1.27, allocations: 312.1 kB / 1.507 GB, free: 1.512 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/1.27, allocations: 154.7 kB / 1.507 GB, free: 1.359 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/1.27, allocations: 98.2 kB / 1.507 GB, free: 1.258 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.27, allocations: 362.8 kB / 1.508 GB, free: 0.8945 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004364/1.271, allocations: 181 kB / 1.508 GB, free: 0.7148 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005707/1.271, allocations: 357.2 kB / 1.508 GB, free: 304 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009822/1.272, allocations: 0.5242 MB / 1.509 GB, free: 15.71 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.272, allocations: 0 / 1.509 GB, free: 15.71 MB / 1.201 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001818/1.274, allocations: 0.6994 MB / 1.509 GB, free: 15 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.274, allocations: 8 kB / 1.509 GB, free: 14.99 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.274, allocations: 4 kB / 1.509 GB, free: 14.99 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005057/1.275, allocations: 122 kB / 1.51 GB, free: 14.86 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000461/1.275, allocations: 111.8 kB / 1.51 GB, free: 14.75 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003405/1.279, allocations: 3.417 MB / 1.513 GB, free: 11.05 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005358/1.279, allocations: 32.12 kB / 1.513 GB, free: 11.02 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.56e-05/1.279, allocations: 24 kB / 1.513 GB, free: 11 MB / 1.201 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.0003149/1.28, allocations: 193.6 kB / 1.513 GB, free: 10.8 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/1.28, allocations: 55.67 kB / 1.513 GB, free: 10.75 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/1.281, allocations: 0.6438 MB / 1.514 GB, free: 10.07 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/1.281, allocations: 4 kB / 1.514 GB, free: 10.07 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.281, allocations: 7.984 kB / 1.514 GB, free: 10.06 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/1.281, allocations: 0 / 1.514 GB, free: 10.06 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/1.284, allocations: 1.199 MB / 1.515 GB, free: 8.758 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/1.284, allocations: 4 kB / 1.515 GB, free: 8.754 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/1.284, allocations: 71.83 kB / 1.515 GB, free: 8.684 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003003/1.285, allocations: 69.31 kB / 1.515 GB, free: 8.613 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/1.285, allocations: 12 kB / 1.515 GB, free: 8.602 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/1.287, allocations: 1.736 MB / 1.517 GB, free: 6.727 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.287, allocations: 7.938 kB / 1.517 GB, free: 6.719 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/1.288, allocations: 0.7246 MB / 1.518 GB, free: 5.926 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/1.289, allocations: 124.8 kB / 1.518 GB, free: 5.785 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/1.289, allocations: 15.98 kB / 1.518 GB, free: 5.77 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004304/1.289, allocations: 23.98 kB / 1.518 GB, free: 5.746 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.088e-05/1.289, allocations: 27.91 kB / 1.518 GB, free: 5.719 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/1.289, allocations: 24 kB / 1.518 GB, free: 5.695 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005937/1.29, allocations: 358.8 kB / 1.518 GB, free: 5.344 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.71e-07/1.29, allocations: 0 / 1.518 GB, free: 5.344 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001888/1.292, allocations: 0.5695 MB / 1.519 GB, free: 4.773 MB / 1.201 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.004866/1.297, allocations: 1.724 MB / 1.52 GB, free: 2.977 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001762/1.298, allocations: 0.6462 MB / 1.521 GB, free: 2.305 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/1.298, allocations: 8 kB / 1.521 GB, free: 2.297 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006553/1.299, allocations: 270.4 kB / 1.521 GB, free: 2.02 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/1.301, allocations: 304.8 kB / 1.522 GB, free: 1.727 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009609/1.31, allocations: 5.357 MB / 1.527 GB, free: 12.05 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/1.311, allocations: 0.8667 MB / 1.528 GB, free: 11.16 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0004762/1.311, allocations: 99.22 kB / 1.528 GB, free: 11.07 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/1.312, allocations: 191.4 kB / 1.528 GB, free: 10.88 MB / 1.217 GB Notification: Performance of SimCode: time 7.72e-07/1.312, allocations: 0 / 1.528 GB, free: 10.88 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06663/1.378, allocations: 28.8 MB / 1.556 GB, free: 14.54 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/14.63, allocations: 11.94 kB / 1.556 GB, free: 14.53 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.972047041053884]