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: translateModel(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") translateModel(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009078/0.009078, allocations: 97.94 kB / 15.73 MB, free: 6.004 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.001963/0.001963, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.413/2.413, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.89 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9198/0.9212, allocations: 151.6 MB / 1.167 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1726/1.094, allocations: 163.2 MB / 1.326 GB, free: 148 kB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01179/1.106, allocations: 8.134 MB / 1.334 GB, free: 7.984 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007091/1.106, allocations: 15.94 kB / 1.334 GB, free: 7.969 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/1.108, allocations: 357.8 kB / 1.334 GB, free: 7.617 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002232/1.11, allocations: 0.748 MB / 1.335 GB, free: 6.867 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005746/1.116, allocations: 2.146 MB / 1.337 GB, free: 4.727 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001936/1.118, allocations: 1.368 MB / 1.338 GB, free: 3.352 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008524/1.118, allocations: 441.4 kB / 1.339 GB, free: 2.914 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003783/1.122, allocations: 1.455 MB / 1.34 GB, free: 1.453 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00094/1.123, allocations: 450.2 kB / 1.341 GB, free: 1.012 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/1.123, allocations: 48 kB / 1.341 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007479/1.131, allocations: 3.628 MB / 1.344 GB, free: 13.33 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002804/1.131, allocations: 147.5 kB / 1.344 GB, free: 13.19 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006178/1.132, allocations: 350.4 kB / 1.345 GB, free: 12.84 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005314/1.137, allocations: 2.583 MB / 1.347 GB, free: 10.25 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/1.137, allocations: 7.984 kB / 1.347 GB, free: 10.25 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.904e-06/1.137, allocations: 4 kB / 1.347 GB, free: 10.24 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.657e-05/1.137, allocations: 0 / 1.347 GB, free: 10.24 MB / 1.076 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.002669/1.14, allocations: 1.035 MB / 1.348 GB, free: 9.156 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.14, allocations: 12.91 kB / 1.348 GB, free: 9.145 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/1.141, allocations: 143.5 kB / 1.348 GB, free: 9.004 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008337/1.142, allocations: 429.9 kB / 1.349 GB, free: 8.547 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/1.142, allocations: 49.25 kB / 1.349 GB, free: 8.496 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/1.142, allocations: 48 kB / 1.349 GB, free: 8.449 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/1.144, allocations: 0.6579 MB / 1.35 GB, free: 7.742 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/1.144, allocations: 0 / 1.35 GB, free: 7.742 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.86e-05/1.144, allocations: 24 kB / 1.35 GB, free: 7.719 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/1.144, allocations: 15.98 kB / 1.35 GB, free: 7.703 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/1.145, allocations: 471.5 kB / 1.35 GB, free: 7.246 MB / 1.076 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.01708/1.162, allocations: 6.491 MB / 1.356 GB, free: 484 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/1.162, allocations: 167.1 kB / 1.357 GB, free: 308 kB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/1.163, allocations: 121.3 kB / 1.357 GB, free: 184 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01254/1.175, allocations: 3.853 MB / 1.361 GB, free: 12.18 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/1.175, allocations: 38.8 kB / 1.361 GB, free: 12.13 MB / 1.092 GB Notification: Performance of pre-optimization done (n=27): time 1.963e-06/1.175, allocations: 0 / 1.361 GB, free: 12.13 MB / 1.092 GB Notification: Performance of matching and sorting (n=40): time 0.09063/1.266, allocations: 30.63 MB / 1.39 GB, free: 13.49 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/1.266, allocations: 136.5 kB / 1.391 GB, free: 13.32 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006316/1.267, allocations: 461.8 kB / 1.391 GB, free: 12.87 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.227e-05/1.267, allocations: 37.7 kB / 1.391 GB, free: 12.83 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/1.267, allocations: 316.1 kB / 1.391 GB, free: 12.51 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/1.267, allocations: 150.7 kB / 1.392 GB, free: 12.36 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/1.267, allocations: 102.2 kB / 1.392 GB, free: 12.26 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.268, allocations: 362.8 kB / 1.392 GB, free: 11.89 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/1.268, allocations: 185 kB / 1.392 GB, free: 11.71 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005854/1.269, allocations: 357.2 kB / 1.392 GB, free: 11.3 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009654/1.27, allocations: 0.5149 MB / 1.393 GB, free: 10.72 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/1.27, allocations: 3.984 kB / 1.393 GB, free: 10.72 MB / 1.123 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001883/1.271, allocations: 0.7015 MB / 1.394 GB, free: 10 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.272, allocations: 10.66 kB / 1.394 GB, free: 9.996 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/1.272, allocations: 4 kB / 1.394 GB, free: 9.992 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005336/1.272, allocations: 121.6 kB / 1.394 GB, free: 9.867 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005029/1.273, allocations: 120.1 kB / 1.394 GB, free: 9.75 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003462/1.276, allocations: 3.406 MB / 1.397 GB, free: 6.066 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005645/1.277, allocations: 23.98 kB / 1.397 GB, free: 6.043 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.808e-05/1.277, allocations: 27.98 kB / 1.397 GB, free: 6.016 MB / 1.123 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.00031/1.277, allocations: 197.7 kB / 1.397 GB, free: 5.812 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002877/1.277, allocations: 59.61 kB / 1.398 GB, free: 5.754 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/1.279, allocations: 0.6504 MB / 1.398 GB, free: 5.078 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/1.279, allocations: 4.031 kB / 1.398 GB, free: 5.074 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.279, allocations: 4 kB / 1.398 GB, free: 5.07 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.279, allocations: 3.984 kB / 1.398 GB, free: 5.066 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/1.281, allocations: 1.205 MB / 1.399 GB, free: 3.754 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/1.281, allocations: 4 kB / 1.399 GB, free: 3.75 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/1.282, allocations: 67.89 kB / 1.399 GB, free: 3.684 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002772/1.282, allocations: 64.81 kB / 1.399 GB, free: 3.617 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/1.282, allocations: 12 kB / 1.399 GB, free: 3.605 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/1.284, allocations: 1.736 MB / 1.401 GB, free: 1.734 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.284, allocations: 11.94 kB / 1.401 GB, free: 1.723 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/1.285, allocations: 0.7112 MB / 1.402 GB, free: 0.9453 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/1.286, allocations: 132.8 kB / 1.402 GB, free: 0.7969 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/1.286, allocations: 12.14 kB / 1.402 GB, free: 0.7852 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/1.286, allocations: 24.03 kB / 1.402 GB, free: 0.7617 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/1.286, allocations: 39.83 kB / 1.402 GB, free: 0.7227 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/1.286, allocations: 20 kB / 1.402 GB, free: 0.7031 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000518/1.287, allocations: 358.8 kB / 1.402 GB, free: 360 kB / 1.123 GB Notification: Performance of sort global known variables: time 1.71e-07/1.287, allocations: 7.938 kB / 1.402 GB, free: 352 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.002195/1.289, allocations: 0.5618 MB / 1.403 GB, free: 15.78 MB / 1.139 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.002696/1.292, allocations: 0.5689 MB / 1.404 GB, free: 15.21 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001681/1.293, allocations: 0.6771 MB / 1.404 GB, free: 14.5 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.294, allocations: 0 / 1.404 GB, free: 14.5 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005943/1.294, allocations: 283.3 kB / 1.404 GB, free: 14.21 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/1.296, allocations: 303.6 kB / 1.405 GB, free: 13.92 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/1.298, allocations: 1.135 MB / 1.406 GB, free: 12.71 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/1.299, allocations: 0.8628 MB / 1.407 GB, free: 11.82 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0004962/1.299, allocations: 118.6 kB / 1.407 GB, free: 11.71 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/1.299, allocations: 47.44 kB / 1.407 GB, free: 11.66 MB / 1.139 GB Notification: Performance of SimCode: time 7.21e-07/1.299, allocations: 0 / 1.407 GB, free: 11.66 MB / 1.139 GB Notification: Performance of Templates: time 0.03847/1.338, allocations: 23.18 MB / 1.43 GB, free: 4.699 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile (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 & ./Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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