Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") translateModel(Buildings.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_latest_Buildings.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.001571/0.001571, allocations: 102.9 kB / 16.27 MB, free: 6.414 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.001581/0.001582, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.372/1.372, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.614/2.614, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 60.5 kB / 0.9245 GB, free: 12 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6855/0.6874, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1889/0.8764, allocations: 163.2 MB / 1.242 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01066/0.8871, allocations: 8.127 MB / 1.25 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005547/0.8877, allocations: 19.88 kB / 1.25 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009612/0.8888, allocations: 341.9 kB / 1.251 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.8906, allocations: 0.719 MB / 1.251 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004823/0.8954, allocations: 2.134 MB / 1.253 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001731/0.8972, allocations: 1.368 MB / 1.255 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006978/0.8979, allocations: 441.4 kB / 1.255 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003171/0.9011, allocations: 1.408 MB / 1.256 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006706/0.9017, allocations: 450.2 kB / 1.257 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.9019, allocations: 52 kB / 1.257 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006363/0.9082, allocations: 3.523 MB / 1.26 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002527/0.9085, allocations: 155.4 kB / 1.261 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004764/0.909, allocations: 338.5 kB / 1.261 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00388/0.9129, allocations: 2.572 MB / 1.263 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9129, allocations: 0 / 1.263 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9129, allocations: 0 / 1.263 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.9129, allocations: 0 / 1.263 GB, free: 5.582 MB / 0.9825 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.001908/0.9149, allocations: 1.017 MB / 1.264 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.9149, allocations: 16.03 kB / 1.264 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.916, allocations: 135.2 kB / 1.265 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/0.9166, allocations: 413.6 kB / 1.265 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.9167, allocations: 37.31 kB / 1.265 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-05/0.9167, allocations: 56 kB / 1.265 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.9179, allocations: 0.6603 MB / 1.266 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.9179, allocations: 7.906 kB / 1.266 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-05/0.918, allocations: 24 kB / 1.266 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.918, allocations: 12 kB / 1.266 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009829/0.919, allocations: 471.5 kB / 1.266 GB, free: 2.621 MB / 0.9825 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.01606/0.9351, allocations: 6.479 MB / 1.272 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.9355, allocations: 159.2 kB / 1.273 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.9358, allocations: 121.9 kB / 1.273 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0119/0.9477, allocations: 3.802 MB / 1.276 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.9478, allocations: 38.8 kB / 1.276 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 1.874e-06/0.9478, allocations: 4 kB / 1.276 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.0857/1.034, allocations: 30.35 MB / 1.306 GB, free: 9.199 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/1.034, allocations: 136.5 kB / 1.306 GB, free: 9.035 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005733/1.034, allocations: 461.7 kB / 1.307 GB, free: 8.574 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/1.034, allocations: 33.7 kB / 1.307 GB, free: 8.535 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/1.035, allocations: 307.5 kB / 1.307 GB, free: 8.227 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/1.035, allocations: 145.9 kB / 1.307 GB, free: 8.082 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/1.035, allocations: 106.1 kB / 1.307 GB, free: 7.973 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.035, allocations: 358.8 kB / 1.308 GB, free: 7.613 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/1.035, allocations: 177 kB / 1.308 GB, free: 7.441 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005832/1.036, allocations: 353.2 kB / 1.308 GB, free: 7.023 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009295/1.037, allocations: 0.5186 MB / 1.309 GB, free: 6.445 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.037, allocations: 0 / 1.309 GB, free: 6.445 MB / 1.029 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001729/1.039, allocations: 0.6936 MB / 1.309 GB, free: 5.738 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.039, allocations: 8 kB / 1.309 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.039, allocations: 4 kB / 1.309 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004708/1.039, allocations: 117.6 kB / 1.309 GB, free: 5.605 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/1.04, allocations: 119.9 kB / 1.31 GB, free: 5.488 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00335/1.043, allocations: 3.41 MB / 1.313 GB, free: 1.809 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005592/1.044, allocations: 31.97 kB / 1.313 GB, free: 1.777 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.936e-05/1.044, allocations: 24 kB / 1.313 GB, free: 1.754 MB / 1.029 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.0002941/1.044, allocations: 189.6 kB / 1.313 GB, free: 1.559 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002248/1.044, allocations: 55.38 kB / 1.313 GB, free: 1.504 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/1.046, allocations: 0.6677 MB / 1.314 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/1.046, allocations: 4 kB / 1.314 GB, free: 0.8008 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.046, allocations: 4.125 kB / 1.314 GB, free: 0.7969 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/1.046, allocations: 0 / 1.314 GB, free: 0.7969 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/1.048, allocations: 1.199 MB / 1.315 GB, free: 15.49 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/1.048, allocations: 4 kB / 1.315 GB, free: 15.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/1.048, allocations: 72.33 kB / 1.315 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002693/1.049, allocations: 68.8 kB / 1.315 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/1.049, allocations: 15.98 kB / 1.315 GB, free: 15.33 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/1.05, allocations: 1.732 MB / 1.317 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/1.05, allocations: 7.938 kB / 1.317 GB, free: 13.45 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/1.052, allocations: 0.7204 MB / 1.318 GB, free: 12.66 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/1.052, allocations: 124.5 kB / 1.318 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/1.052, allocations: 15.98 kB / 1.318 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/1.053, allocations: 19.98 kB / 1.318 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/1.053, allocations: 39.91 kB / 1.318 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/1.053, allocations: 15.98 kB / 1.318 GB, free: 12.43 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004725/1.053, allocations: 354.9 kB / 1.318 GB, free: 12.08 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.4e-07/1.053, allocations: 0 / 1.318 GB, free: 12.08 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001723/1.055, allocations: 0.5584 MB / 1.319 GB, free: 11.52 MB / 1.045 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.002222/1.057, allocations: 0.5739 MB / 1.319 GB, free: 10.95 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001619/1.059, allocations: 0.6852 MB / 1.32 GB, free: 10.24 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.059, allocations: 0 / 1.32 GB, free: 10.24 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005812/1.06, allocations: 286.4 kB / 1.32 GB, free: 9.945 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/1.061, allocations: 304.9 kB / 1.32 GB, free: 9.66 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/1.063, allocations: 1.166 MB / 1.322 GB, free: 8.418 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/1.064, allocations: 0.8628 MB / 1.322 GB, free: 7.527 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/1.064, allocations: 51.44 kB / 1.322 GB, free: 7.477 MB / 1.045 GB Notification: Performance of SimCode: time 4.91e-07/1.064, allocations: 0 / 1.322 GB, free: 7.477 MB / 1.045 GB Notification: Performance of Templates: time 0.02917/1.093, allocations: 19.66 MB / 1.342 GB, free: 3.945 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches