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.001518/0.001518, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001813/0.001813, allocations: 215.7 kB / 22.25 MB, free: 5.105 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.812 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.068/3.068, allocations: 0.49 GB / 0.7951 GB, free: 35.46 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.001963/0.001963, allocations: 67.95 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3028, allocations: 176.1 MB / 1.326 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.177/0.4798, allocations: 144.3 MB / 1.467 GB, free: 0.6914 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01107/0.4909, allocations: 7.487 MB / 1.474 GB, free: 9.176 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005778/0.4914, allocations: 23.81 kB / 1.474 GB, free: 9.152 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009989/0.4924, allocations: 317.9 kB / 1.474 GB, free: 8.84 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.4944, allocations: 0.7697 MB / 1.475 GB, free: 8.066 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005066/0.4995, allocations: 2.154 MB / 1.477 GB, free: 5.918 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00187/0.5014, allocations: 1.38 MB / 1.479 GB, free: 4.535 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000644/0.502, allocations: 377.8 kB / 1.479 GB, free: 4.16 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003427/0.5054, allocations: 1.486 MB / 1.48 GB, free: 2.668 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008624/0.5063, allocations: 470.1 kB / 1.481 GB, free: 2.207 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.5064, allocations: 48 kB / 1.481 GB, free: 2.16 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006881/0.5133, allocations: 3.597 MB / 1.484 GB, free: 14.56 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.5136, allocations: 159.4 kB / 1.485 GB, free: 14.4 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004703/0.514, allocations: 290.8 kB / 1.485 GB, free: 14.12 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004269/0.5183, allocations: 2.579 MB / 1.487 GB, free: 11.53 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5183, allocations: 0 / 1.487 GB, free: 11.53 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5183, allocations: 0 / 1.487 GB, free: 11.53 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.739e-05/0.5183, allocations: 0 / 1.487 GB, free: 11.53 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.002132/0.5205, allocations: 0.9639 MB / 1.488 GB, free: 10.54 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.5205, allocations: 16.03 kB / 1.488 GB, free: 10.52 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.5206, allocations: 94.52 kB / 1.488 GB, free: 10.42 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.5218, allocations: 135.5 kB / 1.489 GB, free: 10.29 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000766/0.5225, allocations: 379.2 kB / 1.489 GB, free: 9.883 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.372e-05/0.5226, allocations: 41.31 kB / 1.489 GB, free: 9.84 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-05/0.5227, allocations: 55.95 kB / 1.489 GB, free: 9.785 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.5241, allocations: 0.9827 MB / 1.49 GB, free: 8.672 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.5241, allocations: 4 kB / 1.49 GB, free: 8.668 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.09e-05/0.5242, allocations: 20 kB / 1.49 GB, free: 8.648 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.5242, allocations: 20 kB / 1.49 GB, free: 8.629 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.5252, allocations: 467.5 kB / 1.49 GB, free: 8.172 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.01634/0.5416, allocations: 5.606 MB / 1.496 GB, free: 2.473 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/0.542, allocations: 147.9 kB / 1.496 GB, free: 2.32 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.5423, allocations: 121.2 kB / 1.496 GB, free: 2.199 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/0.5542, allocations: 3.274 MB / 1.499 GB, free: 14.92 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.5542, allocations: 34.8 kB / 1.499 GB, free: 14.88 MB / 1.201 GB Notification: Performance of pre-optimization done (n=27): time 1.874e-06/0.5542, allocations: 4 kB / 1.499 GB, free: 14.88 MB / 1.201 GB Notification: Performance of matching and sorting (n=40): time 0.08586/0.6401, allocations: 30.54 MB / 1.529 GB, free: 332 kB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.935e-05/0.6402, allocations: 144.4 kB / 1.529 GB, free: 156 kB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/0.6408, allocations: 469.7 kB / 1.53 GB, free: 15.69 MB / 1.233 GB Notification: Performance of collectPreVariables (initialization): time 5.142e-05/0.6409, allocations: 37.7 kB / 1.53 GB, free: 15.65 MB / 1.233 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.6411, allocations: 312.1 kB / 1.53 GB, free: 15.34 MB / 1.233 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.6413, allocations: 150.7 kB / 1.53 GB, free: 15.19 MB / 1.233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.6414, allocations: 102.3 kB / 1.53 GB, free: 15.09 MB / 1.233 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.6416, allocations: 366.7 kB / 1.531 GB, free: 14.72 MB / 1.233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004317/0.642, allocations: 177.2 kB / 1.531 GB, free: 14.54 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/0.6427, allocations: 431.2 kB / 1.531 GB, free: 14.04 MB / 1.233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009779/0.6436, allocations: 0.5218 MB / 1.532 GB, free: 13.45 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6436, allocations: 0 / 1.532 GB, free: 13.45 MB / 1.233 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001826/0.6455, allocations: 0.6959 MB / 1.533 GB, free: 12.75 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.6455, allocations: 8 kB / 1.533 GB, free: 12.74 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.6455, allocations: 7.938 kB / 1.533 GB, free: 12.73 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005092/0.646, allocations: 117.6 kB / 1.533 GB, free: 12.61 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.6465, allocations: 115.8 kB / 1.533 GB, free: 12.5 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003395/0.6499, allocations: 3.187 MB / 1.536 GB, free: 9.078 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005636/0.6505, allocations: 32.05 kB / 1.536 GB, free: 9.047 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.6505, allocations: 23.98 kB / 1.536 GB, free: 9.023 MB / 1.233 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.0003032/0.6508, allocations: 194.8 kB / 1.536 GB, free: 8.824 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.6511, allocations: 59.61 kB / 1.536 GB, free: 8.766 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.6526, allocations: 0.6477 MB / 1.537 GB, free: 8.086 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.6526, allocations: 4 kB / 1.537 GB, free: 8.082 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.6526, allocations: 0 / 1.537 GB, free: 8.082 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.6526, allocations: 4 kB / 1.537 GB, free: 8.078 MB / 1.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.655, allocations: 1.103 MB / 1.538 GB, free: 6.875 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.655, allocations: 4 kB / 1.538 GB, free: 6.871 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.6553, allocations: 71.83 kB / 1.538 GB, free: 6.801 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002859/0.6556, allocations: 65.31 kB / 1.538 GB, free: 6.734 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.6556, allocations: 16 kB / 1.538 GB, free: 6.719 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.6575, allocations: 1.63 MB / 1.54 GB, free: 4.977 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.6575, allocations: 7.938 kB / 1.54 GB, free: 4.969 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.6591, allocations: 0.7247 MB / 1.54 GB, free: 4.176 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.6592, allocations: 47.7 kB / 1.54 GB, free: 4.129 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.246e-05/0.6593, allocations: 11.98 kB / 1.54 GB, free: 4.117 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004122/0.6597, allocations: 19.98 kB / 1.54 GB, free: 4.098 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.6598, allocations: 39.83 kB / 1.54 GB, free: 4.059 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.6598, allocations: 16.06 kB / 1.54 GB, free: 4.043 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.0004732/0.6603, allocations: 366.8 kB / 1.541 GB, free: 3.684 MB / 1.233 GB Notification: Performance of sort global known variables: time 7e-08/0.6603, allocations: 0 / 1.541 GB, free: 3.684 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.001797/0.6621, allocations: 0.5656 MB / 1.541 GB, free: 3.117 MB / 1.233 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.003965/0.6661, allocations: 1.734 MB / 1.543 GB, free: 1.309 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.6677, allocations: 0.6426 MB / 1.544 GB, free: 0.6406 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.6677, allocations: 11.94 kB / 1.544 GB, free: 0.6289 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.0006042/0.6683, allocations: 274.4 kB / 1.544 GB, free: 356 kB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.67, allocations: 309.5 kB / 1.544 GB, free: 52 kB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009438/0.6794, allocations: 5.346 MB / 1.55 GB, free: 10.39 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.6797, allocations: 262.8 kB / 1.55 GB, free: 10.11 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0004873/0.6802, allocations: 117.9 kB / 1.55 GB, free: 10 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/0.6805, allocations: 187.4 kB / 1.55 GB, free: 9.816 MB / 1.248 GB Notification: Performance of SimCode: time 9.62e-07/0.6805, allocations: 0 / 1.55 GB, free: 9.816 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07354/0.754, allocations: 30.38 MB / 1.58 GB, free: 11.92 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.38, allocations: 14.67 kB / 1.58 GB, free: 11.91 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.930538591986988]