Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 104.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.562/2.562, allocations: 443.5 MB / 0.7287 GB, free: 13.38 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.89 kB / 1.056 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.023, allocations: 160.7 MB / 1.213 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.2138/1.237, allocations: 163.8 MB / 1.373 GB, free: 3.867 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01611/1.253, allocations: 8.153 MB / 1.381 GB, free: 11.69 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008134/1.254, allocations: 19.94 kB / 1.381 GB, free: 11.67 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/1.255, allocations: 361.8 kB / 1.381 GB, free: 11.31 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00235/1.257, allocations: 0.7464 MB / 1.382 GB, free: 10.56 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006179/1.264, allocations: 2.149 MB / 1.384 GB, free: 8.418 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002232/1.266, allocations: 1.372 MB / 1.385 GB, free: 7.039 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007589/1.267, allocations: 373.5 kB / 1.386 GB, free: 6.668 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003834/1.27, allocations: 1.455 MB / 1.387 GB, free: 5.207 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007389/1.271, allocations: 466.1 kB / 1.388 GB, free: 4.75 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 8.147e-05/1.271, allocations: 48 kB / 1.388 GB, free: 4.703 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009575/1.281, allocations: 3.64 MB / 1.391 GB, free: 1.059 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005352/1.281, allocations: 151.4 kB / 1.391 GB, free: 0.9102 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009417/1.282, allocations: 350.5 kB / 1.392 GB, free: 0.5664 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008042/1.29, allocations: 2.583 MB / 1.394 GB, free: 13.98 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/1.29, allocations: 4 kB / 1.394 GB, free: 13.97 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.974e-06/1.29, allocations: 3.938 kB / 1.394 GB, free: 13.97 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.087e-05/1.29, allocations: 0 / 1.394 GB, free: 13.97 MB / 1.107 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.00254/1.293, allocations: 1.035 MB / 1.395 GB, free: 12.88 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/1.293, allocations: 8.625 kB / 1.395 GB, free: 12.88 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001194/1.293, allocations: 102.5 kB / 1.395 GB, free: 12.77 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/1.294, allocations: 139.5 kB / 1.395 GB, free: 12.63 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007913/1.295, allocations: 441.7 kB / 1.396 GB, free: 12.16 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/1.295, allocations: 37.31 kB / 1.396 GB, free: 12.12 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.459e-05/1.295, allocations: 48 kB / 1.396 GB, free: 12.07 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/1.296, allocations: 0.6565 MB / 1.397 GB, free: 11.37 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/1.296, allocations: 3.938 kB / 1.397 GB, free: 11.36 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.747e-05/1.296, allocations: 28 kB / 1.397 GB, free: 11.34 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/1.296, allocations: 12 kB / 1.397 GB, free: 11.32 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009756/1.297, allocations: 467.5 kB / 1.397 GB, free: 10.87 MB / 1.107 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.01615/1.313, allocations: 6.495 MB / 1.403 GB, free: 4.094 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/1.314, allocations: 155.1 kB / 1.404 GB, free: 3.934 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/1.314, allocations: 113.3 kB / 1.404 GB, free: 3.82 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01181/1.326, allocations: 3.849 MB / 1.407 GB, free: 15.82 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/1.326, allocations: 42.8 kB / 1.407 GB, free: 15.77 MB / 1.123 GB Notification: Performance of pre-optimization done (n=27): time 2.275e-06/1.326, allocations: 0 / 1.407 GB, free: 15.77 MB / 1.123 GB Notification: Performance of matching and sorting (n=40): time 0.08175/1.408, allocations: 30.63 MB / 1.437 GB, free: 1.133 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.78e-05/1.408, allocations: 152.4 kB / 1.438 GB, free: 0.9531 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006029/1.409, allocations: 461.8 kB / 1.438 GB, free: 0.5 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/1.409, allocations: 33.7 kB / 1.438 GB, free: 472 kB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000247/1.409, allocations: 316.1 kB / 1.438 GB, free: 148 kB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/1.409, allocations: 146.7 kB / 1.438 GB, free: 0 / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/1.409, allocations: 102.2 kB / 1.439 GB, free: 15.89 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001875/1.409, allocations: 362.8 kB / 1.439 GB, free: 15.53 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/1.41, allocations: 185 kB / 1.439 GB, free: 15.35 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005484/1.41, allocations: 345.2 kB / 1.439 GB, free: 14.94 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009391/1.411, allocations: 0.5164 MB / 1.44 GB, free: 14.36 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.411, allocations: 4 kB / 1.44 GB, free: 14.36 MB / 1.154 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001778/1.413, allocations: 0.6971 MB / 1.441 GB, free: 13.65 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.413, allocations: 8 kB / 1.441 GB, free: 13.64 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.413, allocations: 4 kB / 1.441 GB, free: 13.64 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004892/1.413, allocations: 126 kB / 1.441 GB, free: 13.51 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/1.414, allocations: 115.9 kB / 1.441 GB, free: 13.4 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003474/1.417, allocations: 3.41 MB / 1.444 GB, free: 9.711 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/1.418, allocations: 27.98 kB / 1.444 GB, free: 9.684 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-05/1.418, allocations: 23.98 kB / 1.444 GB, free: 9.66 MB / 1.154 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.0003059/1.418, allocations: 191.2 kB / 1.444 GB, free: 9.465 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/1.419, allocations: 59.61 kB / 1.444 GB, free: 9.406 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/1.42, allocations: 0.6518 MB / 1.445 GB, free: 8.727 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/1.42, allocations: 4 kB / 1.445 GB, free: 8.723 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.42, allocations: 128 / 1.445 GB, free: 8.723 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/1.42, allocations: 3.984 kB / 1.445 GB, free: 8.719 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/1.422, allocations: 1.203 MB / 1.446 GB, free: 7.406 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.422, allocations: 4 kB / 1.446 GB, free: 7.402 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/1.423, allocations: 64.39 kB / 1.446 GB, free: 7.34 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002601/1.423, allocations: 72.81 kB / 1.446 GB, free: 7.266 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/1.423, allocations: 8 kB / 1.446 GB, free: 7.258 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/1.425, allocations: 1.744 MB / 1.448 GB, free: 5.379 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.425, allocations: 4 kB / 1.448 GB, free: 5.375 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/1.426, allocations: 0.7267 MB / 1.449 GB, free: 4.582 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/1.426, allocations: 128.8 kB / 1.449 GB, free: 4.438 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.144e-05/1.426, allocations: 15.98 kB / 1.449 GB, free: 4.422 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/1.427, allocations: 23.92 kB / 1.449 GB, free: 4.398 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.191e-05/1.427, allocations: 39.91 kB / 1.449 GB, free: 4.359 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/1.427, allocations: 16 kB / 1.449 GB, free: 4.344 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004626/1.427, allocations: 354.8 kB / 1.449 GB, free: 3.996 MB / 1.154 GB Notification: Performance of sort global known variables: time 9.1e-08/1.427, allocations: 0 / 1.449 GB, free: 3.996 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001788/1.429, allocations: 0.5656 MB / 1.45 GB, free: 3.43 MB / 1.154 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.003665/1.433, allocations: 1.756 MB / 1.452 GB, free: 1.605 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001502/1.434, allocations: 0.6423 MB / 1.452 GB, free: 0.9375 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/1.434, allocations: 4 kB / 1.452 GB, free: 0.9336 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0005508/1.435, allocations: 279.1 kB / 1.453 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/1.436, allocations: 305 kB / 1.453 GB, free: 364 kB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008852/1.445, allocations: 5.353 MB / 1.458 GB, free: 10.69 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/1.446, allocations: 0.8628 MB / 1.459 GB, free: 9.797 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005103/1.446, allocations: 112.8 kB / 1.459 GB, free: 9.699 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/1.447, allocations: 187.4 kB / 1.459 GB, free: 9.52 MB / 1.17 GB Notification: Performance of SimCode: time 7.31e-07/1.447, allocations: 3.938 kB / 1.459 GB, free: 9.516 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0781/1.525, allocations: 28.81 MB / 1.487 GB, free: 13.1 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/14.5, allocations: 9.516 kB / 1.487 GB, free: 13.1 MB / 1.201 GB " [Timeout remaining time 285] (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_10_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.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.58808057382703]