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 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.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.001366/0.001366, allocations: 105.7 kB / 16.41 MB, free: 6.469 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.001322/0.001322, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.53/2.53, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 71.88 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8455/0.8469, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1751/1.022, allocations: 163.2 MB / 1.368 GB, free: 9.793 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0112/1.033, allocations: 8.113 MB / 1.376 GB, free: 1.648 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008286/1.034, allocations: 15.94 kB / 1.376 GB, free: 1.633 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/1.036, allocations: 353.8 kB / 1.376 GB, free: 1.285 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002309/1.038, allocations: 0.7229 MB / 1.377 GB, free: 0.5586 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005621/1.043, allocations: 2.133 MB / 1.379 GB, free: 14.44 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001938/1.045, allocations: 1.368 MB / 1.38 GB, free: 13.07 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000863/1.046, allocations: 441.5 kB / 1.381 GB, free: 12.63 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003702/1.05, allocations: 1.422 MB / 1.382 GB, free: 11.21 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009814/1.051, allocations: 450.2 kB / 1.382 GB, free: 10.77 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.00019/1.051, allocations: 48 kB / 1.382 GB, free: 10.72 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00793/1.059, allocations: 3.628 MB / 1.386 GB, free: 7.086 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003391/1.06, allocations: 143.5 kB / 1.386 GB, free: 6.945 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007174/1.06, allocations: 346.4 kB / 1.386 GB, free: 6.605 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005229/1.066, allocations: 2.568 MB / 1.389 GB, free: 4.031 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/1.066, allocations: 4 kB / 1.389 GB, free: 4.027 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.604e-06/1.066, allocations: 4 kB / 1.389 GB, free: 4.023 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.731e-05/1.066, allocations: 0 / 1.389 GB, free: 4.023 MB / 1.107 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.002753/1.068, allocations: 1.017 MB / 1.39 GB, free: 2.957 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/1.068, allocations: 12.03 kB / 1.39 GB, free: 2.945 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/1.07, allocations: 139.2 kB / 1.39 GB, free: 2.809 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007167/1.07, allocations: 425.5 kB / 1.391 GB, free: 2.355 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/1.07, allocations: 45.31 kB / 1.391 GB, free: 2.309 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.681e-05/1.071, allocations: 48 kB / 1.391 GB, free: 2.262 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/1.072, allocations: 0.6526 MB / 1.391 GB, free: 1.559 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/1.072, allocations: 11.84 kB / 1.391 GB, free: 1.547 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.841e-05/1.072, allocations: 24 kB / 1.391 GB, free: 1.523 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/1.072, allocations: 12 kB / 1.391 GB, free: 1.512 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/1.073, allocations: 467.6 kB / 1.392 GB, free: 1.055 MB / 1.107 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.01623/1.089, allocations: 6.483 MB / 1.398 GB, free: 10.29 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004724/1.09, allocations: 171.1 kB / 1.398 GB, free: 10.12 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/1.09, allocations: 121.3 kB / 1.398 GB, free: 9.996 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/1.102, allocations: 3.853 MB / 1.402 GB, free: 5.992 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.376e-05/1.102, allocations: 38.8 kB / 1.402 GB, free: 5.945 MB / 1.123 GB Notification: Performance of pre-optimization done (n=27): time 2.484e-06/1.102, allocations: 0 / 1.402 GB, free: 5.945 MB / 1.123 GB Notification: Performance of matching and sorting (n=40): time 0.08382/1.186, allocations: 30.6 MB / 1.432 GB, free: 7.316 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/1.186, allocations: 140.4 kB / 1.432 GB, free: 7.148 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/1.186, allocations: 461.7 kB / 1.433 GB, free: 6.691 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/1.186, allocations: 33.7 kB / 1.433 GB, free: 6.652 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/1.187, allocations: 315.4 kB / 1.433 GB, free: 6.336 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/1.187, allocations: 141.9 kB / 1.433 GB, free: 6.195 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/1.187, allocations: 106.1 kB / 1.433 GB, free: 6.086 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.187, allocations: 358.8 kB / 1.434 GB, free: 5.727 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/1.188, allocations: 181 kB / 1.434 GB, free: 5.551 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005192/1.188, allocations: 354.8 kB / 1.434 GB, free: 5.133 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000866/1.189, allocations: 0.5166 MB / 1.435 GB, free: 4.555 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.189, allocations: 4 kB / 1.435 GB, free: 4.551 MB / 1.154 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00163/1.191, allocations: 0.6995 MB / 1.435 GB, free: 3.84 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/1.191, allocations: 8 kB / 1.435 GB, free: 3.832 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.191, allocations: 4 kB / 1.435 GB, free: 3.828 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004697/1.191, allocations: 113.6 kB / 1.435 GB, free: 3.711 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/1.192, allocations: 120.1 kB / 1.435 GB, free: 3.594 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/1.195, allocations: 3.413 MB / 1.439 GB, free: 15.9 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/1.195, allocations: 28.11 kB / 1.439 GB, free: 15.88 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/1.195, allocations: 27.98 kB / 1.439 GB, free: 15.85 MB / 1.17 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.0002818/1.195, allocations: 201.7 kB / 1.439 GB, free: 15.64 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/1.196, allocations: 55.38 kB / 1.439 GB, free: 15.59 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/1.197, allocations: 0.6484 MB / 1.44 GB, free: 14.91 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/1.197, allocations: 0 / 1.44 GB, free: 14.91 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.197, allocations: 4 kB / 1.44 GB, free: 14.91 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.197, allocations: 3.984 kB / 1.44 GB, free: 14.9 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/1.199, allocations: 1.201 MB / 1.441 GB, free: 13.59 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/1.199, allocations: 4 kB / 1.441 GB, free: 13.59 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/1.199, allocations: 63.91 kB / 1.441 GB, free: 13.53 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002464/1.2, allocations: 68.8 kB / 1.441 GB, free: 13.46 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/1.2, allocations: 12 kB / 1.441 GB, free: 13.45 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/1.201, allocations: 1.736 MB / 1.443 GB, free: 11.57 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.201, allocations: 11.94 kB / 1.443 GB, free: 11.55 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/1.203, allocations: 0.7207 MB / 1.443 GB, free: 10.77 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/1.203, allocations: 124.5 kB / 1.444 GB, free: 10.62 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/1.203, allocations: 12 kB / 1.444 GB, free: 10.61 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/1.203, allocations: 23.98 kB / 1.444 GB, free: 10.59 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.829e-05/1.204, allocations: 39.89 kB / 1.444 GB, free: 10.55 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/1.204, allocations: 15.94 kB / 1.444 GB, free: 10.54 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004251/1.204, allocations: 358.8 kB / 1.444 GB, free: 10.18 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/1.204, allocations: 0 / 1.444 GB, free: 10.18 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001788/1.206, allocations: 0.5662 MB / 1.445 GB, free: 9.617 MB / 1.17 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.002471/1.208, allocations: 0.5544 MB / 1.445 GB, free: 9.062 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001525/1.21, allocations: 0.6738 MB / 1.446 GB, free: 8.363 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.21, allocations: 4 kB / 1.446 GB, free: 8.359 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0005529/1.21, allocations: 283.4 kB / 1.446 GB, free: 8.07 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/1.212, allocations: 312.5 kB / 1.446 GB, free: 7.773 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/1.214, allocations: 1.145 MB / 1.447 GB, free: 6.551 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/1.214, allocations: 0.8628 MB / 1.448 GB, free: 5.66 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/1.215, allocations: 59.36 kB / 1.448 GB, free: 5.602 MB / 1.17 GB Notification: Performance of SimCode: time 4e-07/1.215, allocations: 0 / 1.448 GB, free: 5.602 MB / 1.17 GB Notification: Performance of Templates: time 0.02829/1.243, allocations: 19.71 MB / 1.468 GB, free: 2.012 MB / 1.186 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=480 -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