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.007291/0.007291, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001673/0.001673, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.241/1.241, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.392/2.392, allocations: 437.1 MB / 0.7105 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2803, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.8151/1.095, allocations: 163.2 MB / 1.326 GB, free: 6.699 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01194/1.107, allocations: 8.13 MB / 1.334 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/1.109, allocations: 15.91 kB / 1.334 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001312/1.11, allocations: 359.2 kB / 1.334 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002661/1.113, allocations: 0.7406 MB / 1.335 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006918/1.12, allocations: 2.158 MB / 1.337 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002155/1.122, allocations: 1.363 MB / 1.338 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000748/1.122, allocations: 435.7 kB / 1.338 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004083/1.127, allocations: 1.459 MB / 1.34 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008477/1.127, allocations: 443.6 kB / 1.34 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/1.128, allocations: 51.03 kB / 1.34 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008467/1.136, allocations: 3.627 MB / 1.344 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002924/1.136, allocations: 152.1 kB / 1.344 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006489/1.137, allocations: 348.8 kB / 1.344 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004982/1.142, allocations: 2.584 MB / 1.347 GB, free: 11.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/1.142, allocations: 0.8125 kB / 1.347 GB, free: 11.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/1.142, allocations: 0 / 1.347 GB, free: 11.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.218e-05/1.142, allocations: 0 / 1.347 GB, free: 11.96 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.002544/1.145, allocations: 1.025 MB / 1.348 GB, free: 11.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/1.145, allocations: 9.625 kB / 1.348 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/1.145, allocations: 96.8 kB / 1.348 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/1.146, allocations: 138.2 kB / 1.348 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007221/1.147, allocations: 425.1 kB / 1.349 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.962e-05/1.147, allocations: 38.09 kB / 1.349 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/1.147, allocations: 61.39 kB / 1.349 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/1.148, allocations: 0.6547 MB / 1.349 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/1.148, allocations: 0 / 1.349 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.037e-05/1.148, allocations: 31.62 kB / 1.349 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/1.148, allocations: 13.91 kB / 1.349 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009719/1.149, allocations: 463.9 kB / 1.35 GB, free: 9.902 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.01593/1.165, allocations: 6.499 MB / 1.356 GB, free: 5.574 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/1.166, allocations: 162.2 kB / 1.356 GB, free: 5.484 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/1.166, allocations: 120 kB / 1.356 GB, free: 5.422 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01208/1.178, allocations: 3.851 MB / 1.36 GB, free: 3.402 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/1.178, allocations: 41.55 kB / 1.36 GB, free: 3.355 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 3.116e-06/1.178, allocations: 1.375 kB / 1.36 GB, free: 3.355 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.07584/1.254, allocations: 30.63 MB / 1.39 GB, free: 14.99 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/1.254, allocations: 140.5 kB / 1.39 GB, free: 14.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/1.255, allocations: 461.7 kB / 1.391 GB, free: 14.37 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/1.255, allocations: 33.7 kB / 1.391 GB, free: 14.33 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/1.255, allocations: 311.5 kB / 1.391 GB, free: 14.02 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/1.255, allocations: 141.9 kB / 1.391 GB, free: 13.88 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/1.255, allocations: 106.1 kB / 1.391 GB, free: 13.77 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.255, allocations: 358.8 kB / 1.392 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/1.256, allocations: 181 kB / 1.392 GB, free: 13.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/1.256, allocations: 353.2 kB / 1.392 GB, free: 12.81 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008306/1.257, allocations: 0.523 MB / 1.393 GB, free: 12.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.257, allocations: 0 / 1.393 GB, free: 12.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001594/1.259, allocations: 0.6932 MB / 1.393 GB, free: 11.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.259, allocations: 8 kB / 1.393 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.259, allocations: 7.938 kB / 1.393 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004771/1.259, allocations: 122.1 kB / 1.393 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/1.26, allocations: 111.8 kB / 1.393 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/1.262, allocations: 3.412 MB / 1.397 GB, free: 7.586 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005556/1.263, allocations: 24.86 kB / 1.397 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-05/1.263, allocations: 31.94 kB / 1.397 GB, free: 7.531 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.0002466/1.263, allocations: 185.7 kB / 1.397 GB, free: 7.34 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/1.264, allocations: 55.38 kB / 1.397 GB, free: 7.285 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/1.265, allocations: 0.6597 MB / 1.398 GB, free: 6.602 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.265, allocations: 4 kB / 1.398 GB, free: 6.598 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/1.265, allocations: 0 / 1.398 GB, free: 6.598 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.265, allocations: 0 / 1.398 GB, free: 6.598 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/1.267, allocations: 1.199 MB / 1.399 GB, free: 5.289 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.267, allocations: 8.125 kB / 1.399 GB, free: 5.281 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/1.267, allocations: 68.39 kB / 1.399 GB, free: 5.215 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002458/1.267, allocations: 76.73 kB / 1.399 GB, free: 5.137 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/1.268, allocations: 11.98 kB / 1.399 GB, free: 5.125 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/1.269, allocations: 1.728 MB / 1.401 GB, free: 3.262 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.269, allocations: 7.938 kB / 1.401 GB, free: 3.254 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/1.27, allocations: 0.7324 MB / 1.401 GB, free: 2.453 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/1.271, allocations: 124.5 kB / 1.402 GB, free: 2.312 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/1.271, allocations: 8 kB / 1.402 GB, free: 2.305 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/1.271, allocations: 19.98 kB / 1.402 GB, free: 2.285 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.222e-05/1.271, allocations: 43.91 kB / 1.402 GB, free: 2.242 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/1.271, allocations: 15.98 kB / 1.402 GB, free: 2.227 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004017/1.272, allocations: 358.8 kB / 1.402 GB, free: 1.875 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.11e-07/1.272, allocations: 0 / 1.402 GB, free: 1.875 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002453/1.274, allocations: 0.5623 MB / 1.403 GB, free: 1.312 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.004327/1.278, allocations: 1.728 MB / 1.404 GB, free: 15.52 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001468/1.28, allocations: 0.6853 MB / 1.405 GB, free: 14.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/1.28, allocations: 4 kB / 1.405 GB, free: 14.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005129/1.28, allocations: 279.2 kB / 1.405 GB, free: 14.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/1.282, allocations: 307.1 kB / 1.405 GB, free: 14.23 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008422/1.29, allocations: 5.354 MB / 1.411 GB, free: 8.559 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/1.291, allocations: 0.8667 MB / 1.412 GB, free: 7.664 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000464/1.291, allocations: 106.1 kB / 1.412 GB, free: 7.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/1.292, allocations: 187.4 kB / 1.412 GB, free: 7.391 MB / 1.076 GB Notification: Performance of SimCode: time 9.92e-07/1.292, allocations: 0 / 1.412 GB, free: 7.391 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2564/1.548, allocations: 28.68 MB / 1.44 GB, free: 11.17 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.62, allocations: 32.97 kB / 1.44 GB, free: 11.14 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