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.001735/0.001735, allocations: 108.8 kB / 16.41 MB, free: 6.484 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.001798/0.001798, allocations: 188.1 kB / 17.34 MB, free: 5.75 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.14 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.419/2.419, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 59.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9157/0.9171, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1773/1.094, allocations: 163.2 MB / 1.327 GB, free: 15.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01078/1.105, allocations: 8.13 MB / 1.335 GB, free: 7.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000876/1.106, allocations: 15.94 kB / 1.335 GB, free: 7.824 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/1.107, allocations: 357.8 kB / 1.335 GB, free: 7.473 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00232/1.11, allocations: 0.7502 MB / 1.336 GB, free: 6.719 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005537/1.115, allocations: 2.146 MB / 1.338 GB, free: 4.582 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001963/1.117, allocations: 1.372 MB / 1.339 GB, free: 3.203 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006612/1.118, allocations: 437.5 kB / 1.34 GB, free: 2.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003549/1.122, allocations: 1.452 MB / 1.341 GB, free: 1.312 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007105/1.122, allocations: 446.2 kB / 1.341 GB, free: 0.875 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.423e-05/1.122, allocations: 52 kB / 1.341 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007379/1.13, allocations: 3.636 MB / 1.345 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002921/1.13, allocations: 139.6 kB / 1.345 GB, free: 13.05 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005707/1.131, allocations: 358.4 kB / 1.346 GB, free: 12.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004601/1.135, allocations: 2.587 MB / 1.348 GB, free: 10.1 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/1.135, allocations: 0 / 1.348 GB, free: 10.1 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.665e-06/1.135, allocations: 7.938 kB / 1.348 GB, free: 10.09 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.135, allocations: 0 / 1.348 GB, free: 10.09 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.002136/1.138, allocations: 1.039 MB / 1.349 GB, free: 9.004 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.138, allocations: 12.92 kB / 1.349 GB, free: 8.992 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/1.139, allocations: 139.5 kB / 1.349 GB, free: 8.855 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006859/1.139, allocations: 433.8 kB / 1.35 GB, free: 8.395 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/1.139, allocations: 45.25 kB / 1.35 GB, free: 8.348 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.9e-05/1.14, allocations: 52 kB / 1.35 GB, free: 8.297 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/1.141, allocations: 0.6448 MB / 1.35 GB, free: 7.602 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/1.141, allocations: 7.984 kB / 1.35 GB, free: 7.594 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.028e-05/1.141, allocations: 28 kB / 1.35 GB, free: 7.566 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/1.141, allocations: 12 kB / 1.35 GB, free: 7.555 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009511/1.142, allocations: 471.5 kB / 1.351 GB, free: 7.098 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.01577/1.157, allocations: 6.491 MB / 1.357 GB, free: 332 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/1.158, allocations: 167.1 kB / 1.357 GB, free: 156 kB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/1.158, allocations: 121.3 kB / 1.357 GB, free: 32 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/1.17, allocations: 3.853 MB / 1.361 GB, free: 12.03 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/1.17, allocations: 42.8 kB / 1.361 GB, free: 11.98 MB / 1.092 GB Notification: Performance of pre-optimization done (n=27): time 2.475e-06/1.17, allocations: 0 / 1.361 GB, free: 11.98 MB / 1.092 GB Notification: Performance of matching and sorting (n=40): time 0.08252/1.253, allocations: 30.63 MB / 1.391 GB, free: 13.34 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.783e-05/1.253, allocations: 140.4 kB / 1.391 GB, free: 13.17 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005822/1.253, allocations: 465.8 kB / 1.392 GB, free: 12.71 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/1.253, allocations: 33.7 kB / 1.392 GB, free: 12.68 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/1.254, allocations: 312.1 kB / 1.392 GB, free: 12.36 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/1.254, allocations: 146.7 kB / 1.392 GB, free: 12.22 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/1.254, allocations: 106.2 kB / 1.392 GB, free: 12.11 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.254, allocations: 362.7 kB / 1.393 GB, free: 11.75 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/1.254, allocations: 185 kB / 1.393 GB, free: 11.56 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005385/1.255, allocations: 350.2 kB / 1.393 GB, free: 11.16 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008706/1.256, allocations: 0.523 MB / 1.394 GB, free: 10.57 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.256, allocations: 0 / 1.394 GB, free: 10.57 MB / 1.123 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001726/1.258, allocations: 0.6976 MB / 1.394 GB, free: 9.863 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/1.258, allocations: 8 kB / 1.394 GB, free: 9.855 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/1.258, allocations: 4 kB / 1.394 GB, free: 9.852 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004989/1.258, allocations: 122 kB / 1.394 GB, free: 9.727 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004547/1.259, allocations: 115.8 kB / 1.395 GB, free: 9.613 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003175/1.262, allocations: 3.414 MB / 1.398 GB, free: 5.922 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005594/1.262, allocations: 28.14 kB / 1.398 GB, free: 5.895 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.251e-05/1.262, allocations: 27.98 kB / 1.398 GB, free: 5.867 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.0003104/1.263, allocations: 185.7 kB / 1.398 GB, free: 5.676 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/1.263, allocations: 67.55 kB / 1.398 GB, free: 5.609 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/1.264, allocations: 0.6441 MB / 1.399 GB, free: 4.938 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.264, allocations: 7.938 kB / 1.399 GB, free: 4.93 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-06/1.264, allocations: 4 kB / 1.399 GB, free: 4.926 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/1.264, allocations: 7.984 kB / 1.399 GB, free: 4.918 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/1.266, allocations: 1.195 MB / 1.4 GB, free: 3.613 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/1.266, allocations: 4 kB / 1.4 GB, free: 3.609 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/1.267, allocations: 67.89 kB / 1.4 GB, free: 3.543 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002679/1.267, allocations: 69.31 kB / 1.4 GB, free: 3.473 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/1.267, allocations: 16 kB / 1.4 GB, free: 3.457 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/1.269, allocations: 1.736 MB / 1.402 GB, free: 1.586 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.269, allocations: 8.078 kB / 1.402 GB, free: 1.578 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/1.27, allocations: 0.7268 MB / 1.403 GB, free: 0.7852 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/1.27, allocations: 128.8 kB / 1.403 GB, free: 0.6406 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.674e-05/1.27, allocations: 11.98 kB / 1.403 GB, free: 0.6289 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/1.271, allocations: 23.98 kB / 1.403 GB, free: 0.6055 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/1.271, allocations: 35.84 kB / 1.403 GB, free: 0.5703 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/1.271, allocations: 20.06 kB / 1.403 GB, free: 0.5508 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004285/1.271, allocations: 362.8 kB / 1.403 GB, free: 200 kB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1.271, allocations: 0 / 1.403 GB, free: 200 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.001917/1.273, allocations: 0.5617 MB / 1.404 GB, free: 15.63 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.001974/1.275, allocations: 0.5667 MB / 1.404 GB, free: 15.07 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001578/1.277, allocations: 0.6736 MB / 1.405 GB, free: 14.37 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.277, allocations: 4 kB / 1.405 GB, free: 14.36 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005594/1.278, allocations: 286.3 kB / 1.405 GB, free: 14.07 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/1.279, allocations: 301.5 kB / 1.405 GB, free: 13.78 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/1.281, allocations: 1.175 MB / 1.407 GB, free: 12.52 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/1.281, allocations: 0.8589 MB / 1.407 GB, free: 11.63 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/1.282, allocations: 59.42 kB / 1.408 GB, free: 11.57 MB / 1.139 GB Notification: Performance of SimCode: time 7.41e-07/1.282, allocations: 0 / 1.408 GB, free: 11.57 MB / 1.139 GB Notification: Performance of Templates: time 0.02896/1.311, allocations: 19.86 MB / 1.427 GB, free: 7.859 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/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