Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,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_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,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_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 112.3 kB / 16.41 MB, free: 6.008 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.001792/0.001793, allocations: 185 kB / 17.34 MB, free: 5.629 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.522/2.522, allocations: 469.4 MB / 0.7428 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 60.12 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8599/0.8613, allocations: 159.1 MB / 1.221 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1732/1.035, allocations: 162.6 MB / 1.38 GB, free: 15.06 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.012/1.047, allocations: 8.872 MB / 1.388 GB, free: 6.16 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008648/1.048, allocations: 19.88 kB / 1.388 GB, free: 6.141 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/1.049, allocations: 353.8 kB / 1.389 GB, free: 5.793 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003445/1.052, allocations: 1.132 MB / 1.39 GB, free: 4.656 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005682/1.058, allocations: 2.133 MB / 1.392 GB, free: 2.531 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002051/1.06, allocations: 1.384 MB / 1.393 GB, free: 1.141 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006783/1.061, allocations: 439.3 kB / 1.394 GB, free: 0.707 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005301/1.066, allocations: 2.14 MB / 1.396 GB, free: 14.56 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003107/1.069, allocations: 1.292 MB / 1.397 GB, free: 13.26 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001626/1.069, allocations: 52 kB / 1.397 GB, free: 13.21 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005618/1.075, allocations: 2.899 MB / 1.4 GB, free: 10.3 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003026/1.075, allocations: 147.5 kB / 1.4 GB, free: 10.16 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005773/1.076, allocations: 354.4 kB / 1.4 GB, free: 9.812 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004082/1.08, allocations: 2.206 MB / 1.403 GB, free: 7.602 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.08, allocations: 0 / 1.403 GB, free: 7.602 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.312e-06/1.08, allocations: 4 kB / 1.403 GB, free: 7.598 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.944e-05/1.08, allocations: 0 / 1.403 GB, free: 7.598 MB / 1.123 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.002088/1.082, allocations: 0.998 MB / 1.404 GB, free: 6.551 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/1.082, allocations: 8.031 kB / 1.404 GB, free: 6.543 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/1.083, allocations: 147.3 kB / 1.404 GB, free: 6.398 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007242/1.084, allocations: 445.5 kB / 1.404 GB, free: 5.926 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/1.084, allocations: 37.31 kB / 1.404 GB, free: 5.887 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.928e-05/1.084, allocations: 55.91 kB / 1.404 GB, free: 5.832 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/1.085, allocations: 0.6604 MB / 1.405 GB, free: 5.121 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/1.085, allocations: 3.938 kB / 1.405 GB, free: 5.117 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/1.086, allocations: 24 kB / 1.405 GB, free: 5.094 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/1.086, allocations: 15.94 kB / 1.405 GB, free: 5.078 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/1.087, allocations: 491.6 kB / 1.405 GB, free: 4.598 MB / 1.123 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.003434/1.09, allocations: 2.99 MB / 1.408 GB, free: 1.375 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/1.091, allocations: 272 kB / 1.409 GB, free: 1.102 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/1.091, allocations: 168.8 kB / 1.409 GB, free: 0.9336 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01809/1.109, allocations: 5.812 MB / 1.414 GB, free: 10.89 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/1.109, allocations: 38.56 kB / 1.414 GB, free: 10.85 MB / 1.139 GB Notification: Performance of pre-optimization done (n=36): time 2.565e-06/1.109, allocations: 0 / 1.414 GB, free: 10.85 MB / 1.139 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volDyn.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=52): time 0.08907/1.198, allocations: 31.86 MB / 1.446 GB, free: 10.94 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/1.198, allocations: 137 kB / 1.446 GB, free: 10.77 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/1.199, allocations: 373.6 kB / 1.446 GB, free: 10.41 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/1.199, allocations: 37.7 kB / 1.446 GB, free: 10.36 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/1.199, allocations: 296.1 kB / 1.446 GB, free: 10.07 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/1.199, allocations: 173.4 kB / 1.446 GB, free: 9.895 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/1.199, allocations: 110.2 kB / 1.447 GB, free: 9.777 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.2, allocations: 358.8 kB / 1.447 GB, free: 9.418 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005403/1.2, allocations: 237 kB / 1.447 GB, free: 9.188 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006556/1.201, allocations: 380.3 kB / 1.448 GB, free: 8.77 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/1.202, allocations: 0.5903 MB / 1.448 GB, free: 8.133 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.202, allocations: 0 / 1.448 GB, free: 8.133 MB / 1.17 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00194/1.204, allocations: 0.7896 MB / 1.449 GB, free: 7.328 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/1.204, allocations: 11.94 kB / 1.449 GB, free: 7.316 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.204, allocations: 384 / 1.449 GB, free: 7.316 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005052/1.205, allocations: 133.6 kB / 1.449 GB, free: 7.18 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/1.205, allocations: 127.8 kB / 1.449 GB, free: 7.055 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003285/1.208, allocations: 3.421 MB / 1.452 GB, free: 3.355 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005697/1.209, allocations: 35.91 kB / 1.453 GB, free: 3.32 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/1.209, allocations: 27.98 kB / 1.453 GB, free: 3.293 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (65): * Single equations (assignments): 63 * 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.0002946/1.209, allocations: 198.3 kB / 1.453 GB, free: 3.09 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/1.21, allocations: 51.44 kB / 1.453 GB, free: 3.039 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/1.211, allocations: 0.7765 MB / 1.454 GB, free: 2.242 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.211, allocations: 8.047 kB / 1.454 GB, free: 2.234 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/1.211, allocations: 7.984 kB / 1.454 GB, free: 2.227 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/1.211, allocations: 3.984 kB / 1.454 GB, free: 2.223 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00312/1.215, allocations: 1.619 MB / 1.455 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.215, allocations: 4.125 kB / 1.455 GB, free: 0.5 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005032/1.215, allocations: 107.8 kB / 1.455 GB, free: 404 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002367/1.215, allocations: 64.8 kB / 1.455 GB, free: 336 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/1.215, allocations: 16 kB / 1.455 GB, free: 320 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/1.217, allocations: 1.779 MB / 1.457 GB, free: 14.4 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.217, allocations: 7.922 kB / 1.457 GB, free: 14.39 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/1.219, allocations: 1.012 MB / 1.458 GB, free: 13.32 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/1.219, allocations: 128.4 kB / 1.458 GB, free: 13.18 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/1.219, allocations: 23.92 kB / 1.458 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004881/1.22, allocations: 28.19 kB / 1.458 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.701e-05/1.22, allocations: 47.88 kB / 1.458 GB, free: 13.08 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/1.22, allocations: 27.92 kB / 1.458 GB, free: 13.05 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004573/1.221, allocations: 350.8 kB / 1.459 GB, free: 12.71 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/1.221, allocations: 0 / 1.459 GB, free: 12.71 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.004402/1.225, allocations: 1.39 MB / 1.46 GB, free: 11.32 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (48): * Single equations (assignments): 47 * 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.007351/1.232, allocations: 0.7618 MB / 1.461 GB, free: 10.55 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002158/1.235, allocations: 0.819 MB / 1.462 GB, free: 9.703 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.235, allocations: 0 / 1.462 GB, free: 9.703 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007845/1.235, allocations: 390.4 kB / 1.462 GB, free: 9.309 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/1.238, allocations: 336.9 kB / 1.462 GB, free: 8.988 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/1.24, allocations: 1.213 MB / 1.463 GB, free: 7.703 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/1.24, allocations: 0.8712 MB / 1.464 GB, free: 6.805 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/1.24, allocations: 75.41 kB / 1.464 GB, free: 6.734 MB / 1.186 GB Notification: Performance of SimCode: time 5.11e-07/1.24, allocations: 0 / 1.464 GB, free: 6.734 MB / 1.186 GB Notification: Performance of Templates: time 0.06468/1.305, allocations: 42.11 MB / 1.505 GB, free: 13.22 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches