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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00543/0.00543, allocations: 104.7 kB / 15.74 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 197.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.497/2.497, allocations: 437 MB / 0.7105 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2715, allocations: 151.6 MB / 1.166 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.751/1.023, allocations: 163.2 MB / 1.326 GB, free: 6.645 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01111/1.034, allocations: 8.123 MB / 1.333 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008782/1.035, allocations: 15.72 kB / 1.334 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/1.036, allocations: 348.6 kB / 1.334 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002198/1.038, allocations: 0.715 MB / 1.335 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006006/1.044, allocations: 2.14 MB / 1.337 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00193/1.046, allocations: 1.362 MB / 1.338 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007263/1.047, allocations: 440.3 kB / 1.338 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003843/1.051, allocations: 1.412 MB / 1.34 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008227/1.051, allocations: 448.8 kB / 1.34 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.998e-05/1.052, allocations: 50.81 kB / 1.34 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00776/1.059, allocations: 3.624 MB / 1.344 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002897/1.06, allocations: 150.9 kB / 1.344 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006286/1.06, allocations: 345.5 kB / 1.344 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00537/1.066, allocations: 2.587 MB / 1.347 GB, free: 11.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.066, allocations: 0 / 1.347 GB, free: 11.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/1.066, allocations: 4 kB / 1.347 GB, free: 11.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.481e-05/1.066, allocations: 1.188 kB / 1.347 GB, free: 11.97 MB / 1.029 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.002828/1.069, allocations: 1.021 MB / 1.348 GB, free: 11.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/1.069, allocations: 9 kB / 1.348 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/1.069, allocations: 93.11 kB / 1.348 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/1.07, allocations: 141.2 kB / 1.348 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007341/1.071, allocations: 429.4 kB / 1.348 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/1.071, allocations: 38.53 kB / 1.348 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.911e-05/1.071, allocations: 61.97 kB / 1.349 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/1.072, allocations: 0.6527 MB / 1.349 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/1.072, allocations: 6.094 kB / 1.349 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.952e-05/1.072, allocations: 26.28 kB / 1.349 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/1.072, allocations: 17.95 kB / 1.349 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009864/1.073, allocations: 468.6 kB / 1.35 GB, free: 9.906 MB / 1.029 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.01648/1.09, allocations: 6.49 MB / 1.356 GB, free: 5.586 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/1.09, allocations: 165.6 kB / 1.356 GB, free: 5.492 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/1.09, allocations: 121.3 kB / 1.356 GB, free: 5.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01224/1.103, allocations: 3.847 MB / 1.36 GB, free: 3.414 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/1.103, allocations: 37.55 kB / 1.36 GB, free: 3.371 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 2.254e-06/1.103, allocations: 0 / 1.36 GB, free: 3.371 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.08349/1.186, allocations: 30.64 MB / 1.39 GB, free: 15.05 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/1.186, allocations: 140.5 kB / 1.39 GB, free: 14.88 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005202/1.187, allocations: 461.7 kB / 1.391 GB, free: 14.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/1.187, allocations: 33.7 kB / 1.391 GB, free: 14.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/1.187, allocations: 315.5 kB / 1.391 GB, free: 14.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.988e-05/1.187, allocations: 141.9 kB / 1.391 GB, free: 13.93 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/1.187, allocations: 102.1 kB / 1.391 GB, free: 13.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.187, allocations: 358.8 kB / 1.391 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003967/1.188, allocations: 185 kB / 1.392 GB, free: 13.28 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005093/1.188, allocations: 353.2 kB / 1.392 GB, free: 12.87 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008815/1.189, allocations: 0.5127 MB / 1.392 GB, free: 12.29 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.189, allocations: 0 / 1.392 GB, free: 12.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001726/1.191, allocations: 0.7027 MB / 1.393 GB, free: 11.58 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.191, allocations: 4 kB / 1.393 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.191, allocations: 8 kB / 1.393 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000487/1.192, allocations: 118 kB / 1.393 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/1.192, allocations: 115.8 kB / 1.393 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002944/1.195, allocations: 3.409 MB / 1.397 GB, free: 7.648 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005965/1.196, allocations: 31.97 kB / 1.397 GB, free: 7.617 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/1.196, allocations: 24.09 kB / 1.397 GB, free: 7.594 MB / 1.061 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.0002832/1.196, allocations: 192 kB / 1.397 GB, free: 7.398 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/1.196, allocations: 59.38 kB / 1.397 GB, free: 7.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/1.198, allocations: 0.6477 MB / 1.398 GB, free: 6.664 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/1.198, allocations: 4 kB / 1.398 GB, free: 6.66 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/1.198, allocations: 0 / 1.398 GB, free: 6.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.198, allocations: 0 / 1.398 GB, free: 6.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/1.2, allocations: 1.205 MB / 1.399 GB, free: 5.348 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/1.2, allocations: 7.938 kB / 1.399 GB, free: 5.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/1.2, allocations: 63.89 kB / 1.399 GB, free: 5.277 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002545/1.2, allocations: 64.81 kB / 1.399 GB, free: 5.211 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/1.2, allocations: 28.33 kB / 1.399 GB, free: 5.184 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/1.202, allocations: 1.74 MB / 1.401 GB, free: 3.309 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.202, allocations: 4 kB / 1.401 GB, free: 3.305 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/1.203, allocations: 0.7245 MB / 1.401 GB, free: 2.512 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/1.203, allocations: 124.5 kB / 1.402 GB, free: 2.371 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.305e-05/1.204, allocations: 16.06 kB / 1.402 GB, free: 2.355 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/1.204, allocations: 23.98 kB / 1.402 GB, free: 2.332 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/1.204, allocations: 31.84 kB / 1.402 GB, free: 2.301 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/1.204, allocations: 23.98 kB / 1.402 GB, free: 2.277 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000401/1.204, allocations: 354.9 kB / 1.402 GB, free: 1.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.5e-07/1.204, allocations: 0 / 1.402 GB, free: 1.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00255/1.207, allocations: 0.5584 MB / 1.402 GB, free: 1.371 MB / 1.061 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.004475/1.211, allocations: 1.726 MB / 1.404 GB, free: 15.57 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001537/1.213, allocations: 0.6883 MB / 1.405 GB, free: 14.86 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.213, allocations: 0 / 1.405 GB, free: 14.86 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005349/1.214, allocations: 279.4 kB / 1.405 GB, free: 14.58 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/1.215, allocations: 312.4 kB / 1.405 GB, free: 14.29 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008608/1.224, allocations: 5.339 MB / 1.411 GB, free: 8.629 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/1.224, allocations: 0.8628 MB / 1.411 GB, free: 7.738 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004791/1.225, allocations: 125.3 kB / 1.412 GB, free: 7.629 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/1.225, allocations: 187.4 kB / 1.412 GB, free: 7.449 MB / 1.076 GB Notification: Performance of SimCode: time 7.31e-07/1.225, allocations: 0 / 1.412 GB, free: 7.449 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05959/1.285, allocations: 28.68 MB / 1.44 GB, free: 11.23 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.53, allocations: 22.73 kB / 1.44 GB, free: 11.21 MB / 1.107 GB (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 --timeout=50 --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) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches