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.002006/0.002006, allocations: 107.2 kB / 15.99 MB, free: 5.914 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.002198/0.002198, allocations: 186.8 kB / 16.91 MB, free: 5.758 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.549/1.549, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.691/2.691, allocations: 469.4 MB / 0.7423 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 68.27 kB / 0.9083 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3155, allocations: 159.1 MB / 1.064 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.6802/0.9958, allocations: 161.1 MB / 1.221 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0123/1.008, allocations: 8.237 MB / 1.229 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/1.009, allocations: 14.06 kB / 1.229 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/1.011, allocations: 304.7 kB / 1.229 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002747/1.014, allocations: 0.6641 MB / 1.23 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006389/1.02, allocations: 1.905 MB / 1.232 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002238/1.022, allocations: 1.375 MB / 1.233 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009114/1.023, allocations: 421.5 kB / 1.234 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00392/1.027, allocations: 1.378 MB / 1.235 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000972/1.028, allocations: 454.1 kB / 1.235 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001831/1.029, allocations: 56 kB / 1.235 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007592/1.036, allocations: 3.535 MB / 1.239 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002951/1.036, allocations: 159.4 kB / 1.239 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006537/1.037, allocations: 350.5 kB / 1.239 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003191/1.04, allocations: 1.817 MB / 1.241 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/1.04, allocations: 0 / 1.241 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.793e-06/1.04, allocations: 0 / 1.241 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.785e-05/1.04, allocations: 0 / 1.241 GB, free: 3.781 MB / 0.9512 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.002656/1.043, allocations: 1.024 MB / 1.242 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/1.043, allocations: 8.625 kB / 1.242 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/1.044, allocations: 139.1 kB / 1.242 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006911/1.045, allocations: 413.6 kB / 1.243 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.915e-05/1.045, allocations: 41.31 kB / 1.243 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-05/1.045, allocations: 52 kB / 1.243 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/1.047, allocations: 0.6565 MB / 1.243 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/1.047, allocations: 11.88 kB / 1.243 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-05/1.047, allocations: 28 kB / 1.244 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/1.047, allocations: 12 kB / 1.244 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/1.048, allocations: 471.5 kB / 1.244 GB, free: 0.8125 MB / 0.9512 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.0155/1.063, allocations: 6.455 MB / 1.25 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/1.064, allocations: 171.1 kB / 1.25 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/1.064, allocations: 125.2 kB / 1.251 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01095/1.075, allocations: 3.81 MB / 1.254 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/1.075, allocations: 43.66 kB / 1.254 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=27): time 2.394e-06/1.075, allocations: 0 / 1.254 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40): time 0.08005/1.155, allocations: 30.33 MB / 1.284 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/1.155, allocations: 140.5 kB / 1.284 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005779/1.156, allocations: 453.8 kB / 1.285 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.287e-05/1.156, allocations: 41.69 kB / 1.285 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/1.156, allocations: 307.4 kB / 1.285 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/1.156, allocations: 141.9 kB / 1.285 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/1.156, allocations: 102.1 kB / 1.285 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.157, allocations: 362.8 kB / 1.285 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/1.157, allocations: 181 kB / 1.286 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005293/1.158, allocations: 357.2 kB / 1.286 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009027/1.159, allocations: 0.5087 MB / 1.286 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/1.159, allocations: 7.938 kB / 1.286 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001731/1.16, allocations: 0.6997 MB / 1.287 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.16, allocations: 7.938 kB / 1.287 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.16, allocations: 8 kB / 1.287 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005045/1.161, allocations: 125.5 kB / 1.287 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/1.161, allocations: 115.8 kB / 1.287 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003304/1.165, allocations: 3.407 MB / 1.291 GB, free: 4 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000636/1.165, allocations: 39.97 kB / 1.291 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/1.165, allocations: 20 kB / 1.291 GB, free: 15.95 MB / 1.014 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.0002835/1.166, allocations: 197.7 kB / 1.291 GB, free: 15.74 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/1.166, allocations: 59.28 kB / 1.291 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/1.167, allocations: 0.6432 MB / 1.292 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/1.167, allocations: 11.92 kB / 1.292 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/1.167, allocations: 48 / 1.292 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.167, allocations: 3.984 kB / 1.292 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/1.17, allocations: 1.202 MB / 1.293 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.17, allocations: 4 kB / 1.293 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003475/1.17, allocations: 71.83 kB / 1.293 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002645/1.17, allocations: 65.78 kB / 1.293 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/1.17, allocations: 16 kB / 1.293 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/1.172, allocations: 1.739 MB / 1.295 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.172, allocations: 7.938 kB / 1.295 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/1.174, allocations: 0.7168 MB / 1.295 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/1.174, allocations: 132.6 kB / 1.295 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.975e-05/1.174, allocations: 16.11 kB / 1.296 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/1.174, allocations: 35.91 kB / 1.296 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/1.174, allocations: 35.91 kB / 1.296 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/1.174, allocations: 19.98 kB / 1.296 GB, free: 10.61 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004417/1.175, allocations: 354.9 kB / 1.296 GB, free: 10.26 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/1.175, allocations: 0 / 1.296 GB, free: 10.26 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001756/1.177, allocations: 0.5584 MB / 1.296 GB, free: 9.703 MB / 1.014 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.002257/1.179, allocations: 0.5609 MB / 1.297 GB, free: 9.141 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001525/1.18, allocations: 0.6673 MB / 1.298 GB, free: 8.449 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.181, allocations: 7.938 kB / 1.298 GB, free: 8.441 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005582/1.181, allocations: 294.7 kB / 1.298 GB, free: 8.141 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/1.183, allocations: 304.6 kB / 1.298 GB, free: 7.848 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/1.185, allocations: 1.351 MB / 1.3 GB, free: 6.418 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/1.185, allocations: 0.8628 MB / 1.3 GB, free: 5.527 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/1.185, allocations: 51.44 kB / 1.3 GB, free: 5.477 MB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/1.185, allocations: 0 / 1.3 GB, free: 5.477 MB / 1.014 GB Notification: Performance of Templates: time 0.02796/1.213, allocations: 19.66 MB / 1.32 GB, free: 1.949 MB / 1.029 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